software: fix size_t and ptrdiff_t

This commit is contained in:
Sebastien Bourdeauducq 2012-02-07 12:06:49 +01:00
parent 494c383fa8
commit a40b0ea175
1 changed files with 2 additions and 2 deletions

View File

@ -27,8 +27,8 @@
#define PRINTF_SPECIAL 32 /* 0x */ #define PRINTF_SPECIAL 32 /* 0x */
#define PRINTF_LARGE 64 /* use 'ABCDEF' instead of 'abcdef' */ #define PRINTF_LARGE 64 /* use 'ABCDEF' instead of 'abcdef' */
typedef int size_t; typedef unsigned long size_t;
typedef int ptrdiff_t; typedef long ptrdiff_t;
#define NULL ((void *)0) #define NULL ((void *)0)