diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/stdlib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/stdlib.h b/src/include/stdlib.h index 45420d7876..5465c14f92 100644 --- a/src/include/stdlib.h +++ b/src/include/stdlib.h @@ -5,7 +5,7 @@ #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) -#define ALIGN(x,a) __ALIGN_MASK(x,(typeof(x))(a)-1) +#define ALIGN(x,a) __ALIGN_MASK(x,(typeof(x))(a)-1UL) #define __ALIGN_MASK(x,mask) (((x)+(mask))&~(mask)) #define MIN(a,b) ((a) < (b) ? (a) : (b)) |