summaryrefslogtreecommitdiff
path: root/libopenjpeg/jp2.h
diff options
context:
space:
mode:
authorMathieu Malaterre <mathieu.malaterre@gmail.com>2012-03-17 17:03:16 +0000
committerMathieu Malaterre <mathieu.malaterre@gmail.com>2012-03-17 17:03:16 +0000
commitb3f00d05a8bf7eefaf031e04e1dcb4aa245b1f50 (patch)
treef6c7fa371acf5cb6ac7b0e2d4d092acc583cacd4 /libopenjpeg/jp2.h
parent652d34b0a8bda11ffea8ef678ce8c91db31fabab (diff)
[trunk] remove a warning, about ISO C restricts enumerator values to range of 'int'
Diffstat (limited to 'libopenjpeg/jp2.h')
-rw-r--r--libopenjpeg/jp2.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libopenjpeg/jp2.h b/libopenjpeg/jp2.h
index 299215e0..1de72a9b 100644
--- a/libopenjpeg/jp2.h
+++ b/libopenjpeg/jp2.h
@@ -77,14 +77,14 @@ typedef enum
JP2_STATE_HEADER = 0x4,
JP2_STATE_CODESTREAM = 0x8,
JP2_STATE_END_CODESTREAM = 0x10,
- JP2_STATE_UNKNOWN = 0x80000000
+ JP2_STATE_UNKNOWN = 0x7fffffff /* ISO C restricts enumerator values to range of 'int' */
}
JP2_STATE;
typedef enum
{
JP2_IMG_STATE_NONE = 0x0,
- JP2_IMG_STATE_UNKNOWN = 0x80000000
+ JP2_IMG_STATE_UNKNOWN = 0x7fffffff
}
JP2_IMG_STATE;