diff options
| author | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2014-03-03 12:00:24 +0000 |
|---|---|---|
| committer | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2014-03-03 12:00:24 +0000 |
| commit | 11f402b44ae63295663737e355d1319b6e50f84b (patch) | |
| tree | 30bde70a5dd9a73da759b97300848581f3b7e825 /src/lib | |
| parent | 18049fe3e0dadd6765f030e71d647d6865e8625d (diff) | |
[trunk] Remove easy to fix warnings about conversion
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/openjp2/dwt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/openjp2/dwt.c b/src/lib/openjp2/dwt.c index 7d87a9f8..c617ffcf 100644 --- a/src/lib/openjp2/dwt.c +++ b/src/lib/openjp2/dwt.c @@ -404,7 +404,7 @@ INLINE OPJ_BOOL opj_dwt_encode_procedure(opj_tcd_tilecomp_t * tilec,void (*p_fun rw = l_cur_res->x1 - l_cur_res->x0; rh = l_cur_res->y1 - l_cur_res->y0; - l_data_size = opj_dwt_max_resolution( tilec->resolutions,tilec->numresolutions) * sizeof(OPJ_INT32); + l_data_size = opj_dwt_max_resolution( tilec->resolutions,tilec->numresolutions) * (OPJ_UINT32)sizeof(OPJ_INT32); bj = (OPJ_INT32*)opj_malloc(l_data_size); if (! bj) { return OPJ_FALSE; |
