projects
/
openjpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cff5df7
)
minor change to avoid warnings about signedness
author
Antonin Descampe
<antonin@gmail.com>
Wed, 9 Nov 2005 10:17:51 +0000
(10:17 +0000)
committer
Antonin Descampe
<antonin@gmail.com>
Wed, 9 Nov 2005 10:17:51 +0000
(10:17 +0000)
libopenjpeg/jp2.c
patch
|
blob
|
history
diff --git
a/libopenjpeg/jp2.c
b/libopenjpeg/jp2.c
index ad55464b1d79397baf64fefe790b0ecdcc72b6b6..7423150200a5a9db436f71a9f9434464f444fe36 100644
(file)
--- 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*/