From a40b0ea17572af04cf65ac8417b6f7b92f11869d Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Tue, 7 Feb 2012 12:06:49 +0100 Subject: [PATCH] software: fix size_t and ptrdiff_t --- software/include/base/stdlib.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)