correct a warning in image.c

This commit is contained in:
Mickael Savinaud 2012-09-27 14:48:47 +00:00
parent 58b2c6c4a5
commit a540dcd2e2
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ opj_image_t* opj_image_create0(void) {
} }
opj_image_t* OPJ_CALLCONV opj_image_create(OPJ_UINT32 numcmpts, opj_image_cmptparm_t *cmptparms, OPJ_COLOR_SPACE clrspc) { opj_image_t* OPJ_CALLCONV opj_image_create(OPJ_UINT32 numcmpts, opj_image_cmptparm_t *cmptparms, OPJ_COLOR_SPACE clrspc) {
int compno; OPJ_UINT32 compno;
opj_image_t *image = NULL; opj_image_t *image = NULL;
image = (opj_image_t*) opj_calloc(1, sizeof(opj_image_t)); image = (opj_image_t*) opj_calloc(1, sizeof(opj_image_t));