Hearthforge
Sign in
Register
libcutils
Code
Branches
Tags
Commits
Issues
Patches
Releases
Pipelines
← Back to log
@ 157cf96
fixed SIZE_MAX macro
Author
Konata <konata@posteo.jp>
Date
2018-03-17 16:01:07 UTC
Commit
157cf96077ee8a42cd06226805697017714d6221
Parent
c438d8f
1 file changed, 1 insertion(+), 1 deletion(-)
▾
M
include/cutils/common.h
+1
-1
@ 157cf96
@ master
@@ -4,7 +4,7 @@
4
4
#include
<stddef.h>
5
5
#include
<cutils/hedley.h>
6
6
#ifndef
SIZE_MAX
7
-
#define
SIZE_MAX
(
size_t
)
-
1
;
7
+
#define
SIZE_MAX
((
size_t
)(
-
1
))
8
8
#endif
9
9
10
10
#if
__STDC_VERSION__
>=
199901
L