diff options
| author | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2015-10-13 21:07:11 +0200 |
|---|---|---|
| committer | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2015-10-13 21:07:11 +0200 |
| commit | 372fead0d7af3b955eb8c687067b817faa3ea41c (patch) | |
| tree | 3bd9fad32874b249f5949046890776ecba96f613 /src | |
| parent | 98324bbd6baf8b664f6937efe5247d061aa49a8a (diff) | |
Remove the explicit restrict keyword
It would trigger a compiler error on xlc compiler. Fixes #620
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/openjp2/dwt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/openjp2/dwt.c b/src/lib/openjp2/dwt.c index 4ad99ed9..eead5865 100644 --- a/src/lib/openjp2/dwt.c +++ b/src/lib/openjp2/dwt.c @@ -741,8 +741,8 @@ static void opj_v4dwt_decode_step1(opj_v4_t* w, OPJ_INT32 count, const OPJ_FLOAT static void opj_v4dwt_decode_step2(opj_v4_t* l, opj_v4_t* w, OPJ_INT32 k, OPJ_INT32 m, OPJ_FLOAT32 c) { - OPJ_FLOAT32* restrict fl = (OPJ_FLOAT32*) l; - OPJ_FLOAT32* restrict fw = (OPJ_FLOAT32*) w; + OPJ_FLOAT32* fl = (OPJ_FLOAT32*) l; + OPJ_FLOAT32* fw = (OPJ_FLOAT32*) w; OPJ_INT32 i; for(i = 0; i < m; ++i){ OPJ_FLOAT32 tmp1_1 = fl[0]; |
