correct a warning in image.c
This commit is contained in:
parent
58b2c6c4a5
commit
a540dcd2e2
|
@ -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));
|
||||||
|
|
Loading…
Reference in New Issue