Skip to content

Commit 50563ae

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unix/pnglib16.i

+1-1
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 (INT_MAX * 2U + 1)
24+
#define UINT_MAX 4294967295U
2525
#define PNG_ERROR_TEXT_SUPPORTED
2626
#define PNG_FUNCTION(type, name, args, attributes) extern type name args
2727

0 commit comments

Comments
 (0)