diff options
| author | Antonin Descampe <antonin@gmail.com> | 2011-01-30 21:33:55 +0000 |
|---|---|---|
| committer | Antonin Descampe <antonin@gmail.com> | 2011-01-30 21:33:55 +0000 |
| commit | a1920bc5c2e61614ebe330ce8ebb36b4fd2ca83f (patch) | |
| tree | 494561a068d32d539b90c062b81b09e7644d661a /libopenjpeg/dwt.c | |
| parent | 9a811cb52a9c82345731488b91269d3b5ccbc481 (diff) | |
fixed warnings in jp2.c (signed compared to unsigned) and dwt.c (bad cast) ; removed depcomp file from trunk (automatically copied by automake in main folder)
Diffstat (limited to 'libopenjpeg/dwt.c')
| -rw-r--r-- | libopenjpeg/dwt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libopenjpeg/dwt.c b/libopenjpeg/dwt.c index a8d579fa..6f25debd 100644 --- a/libopenjpeg/dwt.c +++ b/libopenjpeg/dwt.c @@ -570,7 +570,7 @@ static void v4dwt_interleave_h(v4dwt_t* restrict w, float* restrict a, int x, in int count = w->sn; int i, k; for(k = 0; k < 2; ++k){ - if (count + 3 * x < size && ((int) a & 0x0f) == 0 && ((int) bi & 0x0f) == 0 && (x & 0x0f) == 0) { + if (count + 3 * x < size && ((long) a & 0x0f) == 0 && ((long) bi & 0x0f) == 0 && (x & 0x0f) == 0) { /* Fast code path */ for(i = 0; i < count; ++i){ int j = i; |
