fix backport.h

AuthorKonata <konata@posteo.jp>
Date
Commit2558d6d55ca6f05df8ac3f956d3eb84bc7ca8934
Parentcb98da3
1 file changed, 3 insertions(+), 3 deletions(-)
Minclude/cutils/backport.h
@@ -8,7 +8,7 @@
88 #else
99
1010 #ifndef SIZE_MAX
11- #define SIZE_MAX (size_t)-1
11+ #define SIZE_MAX ((size_t)-1)
1212 #endif /* SIZE_MAX */
1313
1414 #ifndef CUTILS_NO_BOOL
@@ -26,11 +26,11 @@
2626 #ifdef LLONG_MAX
2727 #define INTMAX_MAX LLONG_MAX
2828 #define INTMAX_MIN LLONG_MIN
29- typedef unsigned long long intmax_t;
29+ typedef long long intmax_t;
3030 #else
3131 #define INTMAX_MAX LONG_MAX
3232 #define INTMAX_MIN LONG_MIN
33- typedef unsigned long intmax_t;
33+ typedef long intmax_t;
3434 #endif
3535 #endif /* CUTILS_NO_MAX */
3636