diff options
| author | Antonin Descampe <antonin@gmail.com> | 2005-11-09 10:17:51 +0000 |
|---|---|---|
| committer | Antonin Descampe <antonin@gmail.com> | 2005-11-09 10:17:51 +0000 |
| commit | c9ac67cd0529cd5cc024a1a92308098b9f4988b2 (patch) | |
| tree | fb2d8ddada0ae91eafa5254d2afe7f8af4e52313 /libopenjpeg | |
| parent | cff5df73d9d7e87f1f960ef73f98d50f75a64ef7 (diff) | |
minor change to avoid warnings about signedness
Diffstat (limited to 'libopenjpeg')
| -rw-r--r-- | libopenjpeg/jp2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libopenjpeg/jp2.c b/libopenjpeg/jp2.c index ad55464b..74231502 100644 --- a/libopenjpeg/jp2.c +++ b/libopenjpeg/jp2.c @@ -88,7 +88,7 @@ int jp2_init_stdjp2(jp2_struct_t * jp2_struct) jp2_struct->brand = JP2_JP2; /* BR */ jp2_struct->minversion = 0; /* MinV */ jp2_struct->numcl = 1; - jp2_struct->cl = (int *) malloc(jp2_struct->numcl * sizeof(int)); + jp2_struct->cl = (unsigned int *) malloc(jp2_struct->numcl * sizeof(int)); jp2_struct->cl[0] = JP2_JP2; /* CL0 : JP2 */ jp2_struct->C = 7; /* C : Always 7*/ |
