Openjpeg compile fixes.

This commit is contained in:
TighMacFanatic
2011-12-24 15:07:52 -05:00
parent e071dc52fd
commit d69f00741f
3 changed files with 3 additions and 15 deletions

View File

@@ -527,7 +527,7 @@ static void dwt_decode_tile(opj_tcd_tilecomp_t* tilec, int numres, DWT1DFN dwt_1
int w = tilec->x1 - tilec->x0;
h.mem = opj_aligned_malloc(dwt_decode_max_resolution(tr, numres) * sizeof(int));
h.mem = (int *)opj_aligned_malloc(dwt_decode_max_resolution(tr, numres) * sizeof(int));
v.mem = h.mem;
while( --numres) {