summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2017-06-02 09:36:25 +0200
committerEven Rouault <even.rouault@spatialys.com>2017-06-02 18:22:59 +0200
commit7e8b502842075738c9a062a2f06dace3f35dd7cd (patch)
tree76aef901b81fa07e9033705db1aba07befea3900 /src/lib
parent2ba861c37cb5032d1fa90a7c9298f6e08a0f5413 (diff)
t1_generate_luts.c: fix compiler warnings
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/openjp2/t1_generate_luts.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/openjp2/t1_generate_luts.c b/src/lib/openjp2/t1_generate_luts.c
index a4ce1e17..9ad6f200 100644
--- a/src/lib/openjp2/t1_generate_luts.c
+++ b/src/lib/openjp2/t1_generate_luts.c
@@ -39,7 +39,7 @@
#include "opj_includes.h"
-static int t1_init_ctxno_zc(int f, int orient)
+static int t1_init_ctxno_zc(OPJ_UINT32 f, OPJ_UINT32 orient)
{
int h, v, d, n, t, hv;
n = 0;
@@ -116,7 +116,7 @@ static int t1_init_ctxno_zc(int f, int orient)
return (T1_CTXNO_ZC + n);
}
-static int t1_init_ctxno_sc(int f)
+static int t1_init_ctxno_sc(OPJ_UINT32 f)
{
int hc, vc, n;
n = 0;
@@ -160,7 +160,7 @@ static int t1_init_ctxno_sc(int f)
return (T1_CTXNO_SC + n);
}
-static int t1_init_spb(int f)
+static int t1_init_spb(OPJ_UINT32 f)
{
int hc, vc, n;
@@ -220,7 +220,7 @@ int main(int argc, char **argv)
/* lut_ctxno_zc */
for (j = 0; j < 4; ++j) {
for (i = 0; i < 512; ++i) {
- int orient = j;
+ OPJ_UINT32 orient = j;
if (orient == 2) {
orient = 1;
} else if (orient == 1) {