diff options
| author | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2014-03-01 10:41:46 +0000 |
|---|---|---|
| committer | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2014-03-01 10:41:46 +0000 |
| commit | 6d0785a78fecc58cf4bb571956547999c4d1e437 (patch) | |
| tree | 0632716e61dcdd5265ec90dc1043de1c9e24605b /src/bin | |
| parent | ec593a2549b77d0958d58717688797350e0d29d0 (diff) | |
[trunk] Fix compilation on MSVC compiler
Diffstat (limited to 'src/bin')
| -rw-r--r-- | src/bin/jp2/convert.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/jp2/convert.c b/src/bin/jp2/convert.c index 4b7886df..ce7ecf2e 100644 --- a/src/bin/jp2/convert.c +++ b/src/bin/jp2/convert.c @@ -3118,7 +3118,7 @@ static int imagetoraw_common(opj_image_t * image, const char *outfile, OPJ_BOOL { if(image->comps[compno].sgnd == 1) { - union { signed short val; signed char vals[2] } uc; + union { signed short val; signed char vals[2]; } uc; mask = (1 << image->comps[compno].prec) - 1; ptr = image->comps[compno].data; for (line = 0; line < h; line++) { @@ -3137,7 +3137,7 @@ static int imagetoraw_common(opj_image_t * image, const char *outfile, OPJ_BOOL } else if(image->comps[compno].sgnd == 0) { - union { unsigned short val; unsigned char vals[2] } uc; + union { unsigned short val; unsigned char vals[2]; } uc; mask = (1 << image->comps[compno].prec) - 1; ptr = image->comps[compno].data; for (line = 0; line < h; line++) { |
