diff options
author | inmarket <andrewh@inmarket.com.au> | 2013-12-21 13:21:59 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2013-12-21 13:21:59 +1000 |
commit | d9f02858fdc04c4404834a033850f758e4c8ee7e (patch) | |
tree | 2d7b4759cabf76eba5b7ef2147e58d3c9d7f885b /demos/benchmarks | |
parent | 018a930d5525ffefc30fb2514752918455853685 (diff) | |
download | uGFX-d9f02858fdc04c4404834a033850f758e4c8ee7e.tar.gz uGFX-d9f02858fdc04c4404834a033850f758e4c8ee7e.tar.bz2 uGFX-d9f02858fdc04c4404834a033850f758e4c8ee7e.zip |
Replace NULL's with 0 as NULL is not defined by the Raw32 GOS.
Diffstat (limited to 'demos/benchmarks')
-rw-r--r-- | demos/benchmarks/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)
|