diff --git a/software/include/base/stdlib.h b/software/include/base/stdlib.h index ed22bdd9a..685cc5a61 100644 --- a/software/include/base/stdlib.h +++ b/software/include/base/stdlib.h @@ -27,8 +27,8 @@ #define PRINTF_SPECIAL 32 /* 0x */ #define PRINTF_LARGE 64 /* use 'ABCDEF' instead of 'abcdef' */ -typedef int size_t; -typedef int ptrdiff_t; +typedef unsigned long size_t; +typedef long ptrdiff_t; #define NULL ((void *)0)