Skip to content

Commit 43f482e

Browse files
committed
define UINT_MAX as unsigned constant
1 parent d46e0d9 commit 43f482e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unix/pnglib16.i

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ extern struct _IO_FILE *stderr;
2121
#define USHRT_MAX 65535
2222
#define INT_MIN -2147483648
2323
#define INT_MAX 2147483647
24-
#define UINT_MAX 4294967295U
24+
#define UINT_MAX (INT_MAX * 2U + 1)
2525
#define PNG_ERROR_TEXT_SUPPORTED
2626
#define PNG_FUNCTION(type, name, args, attributes) extern type name args
2727

0 commit comments

Comments
 (0)