diff options
| author | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2014-02-24 14:27:02 +0000 |
|---|---|---|
| committer | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2014-02-24 14:27:02 +0000 |
| commit | 963283d7d0c89bf097c3be4b123c8e58d9d306c0 (patch) | |
| tree | 3793e299dde4c96c2dccef309cf0374bec0d0887 /tests/unit/testempty1.c | |
| parent | c91044a4a7e4ff909848f17c506e633a6d6f4746 (diff) | |
[trunk] Fix warning about signed/unsigned mismatch
Diffstat (limited to 'tests/unit/testempty1.c')
| -rw-r--r-- | tests/unit/testempty1.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/unit/testempty1.c b/tests/unit/testempty1.c index ed9d636f..01547e3d 100644 --- a/tests/unit/testempty1.c +++ b/tests/unit/testempty1.c @@ -57,15 +57,15 @@ int main(int argc, char *argv[]) const char * v = opj_version(); const OPJ_COLOR_SPACE color_space = OPJ_CLRSPC_GRAY; - int numcomps = 1; + unsigned int numcomps = 1; int i; - int image_width = 256; - int image_height = 256; + unsigned int image_width = 256; + unsigned int image_height = 256; opj_cparameters_t parameters; - int subsampling_dx = 0; - int subsampling_dy = 0; + unsigned int subsampling_dx = 0; + unsigned int subsampling_dy = 0; opj_image_cmptparm_t cmptparm; opj_image_t *image; |
