From d9f02858fdc04c4404834a033850f758e4c8ee7e Mon Sep 17 00:00:00 2001 From: inmarket Date: Sat, 21 Dec 2013 13:21:59 +1000 Subject: Replace NULL's with 0 as NULL is not defined by the Raw32 GOS. --- demos/benchmarks/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'demos/benchmarks') diff --git a/demos/benchmarks/main.c b/demos/benchmarks/main.c index 344fd375..d8c02338 100644 --- a/demos/benchmarks/main.c +++ b/demos/benchmarks/main.c @@ -41,7 +41,7 @@ static int uitoa(unsigned int value, char * buf, int max) { int i = 0; unsigned int tmp = 0; - if (NULL == buf) + if (!buf) return -3; if (2 > max) -- cgit v1.2.3