about summary refs log tree commit diff
path: root/include/stdlib.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-02-15 19:15:45 -0500
committerRich Felker <dalias@aerifal.cx>2011-02-15 19:15:45 -0500
commitf451462098deada2fc30831a28719456e7d474a7 (patch)
treee6ca000407f1d0f4abf3dd937b6ffc7e96ab723a /include/stdlib.h
parent6d36c2098be0b431cad5c8f8327f1beb943028b0 (diff)
downloadmusl-f451462098deada2fc30831a28719456e7d474a7.tar.gz
musl-f451462098deada2fc30831a28719456e7d474a7.tar.xz
musl-f451462098deada2fc30831a28719456e7d474a7.zip
fix the types of some integer constant limits in headers
Diffstat (limited to 'include/stdlib.h')
-rw-r--r--include/stdlib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stdlib.h b/include/stdlib.h
index adacad85..047a5f3f 100644
--- a/include/stdlib.h
+++ b/include/stdlib.h
@@ -72,7 +72,7 @@ size_t wcstombs (char *, const wchar_t *, size_t);
 #define EXIT_FAILURE 1
 #define EXIT_SUCCESS 0
 
-#define MB_CUR_MAX 4
+#define MB_CUR_MAX ((size_t)+4)
 
 #define RAND_MAX (0x7fffffff)