diff options
author | Darren Tucker <dtucker@zip.com.au> | 2016-10-26 08:43:25 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2016-10-26 08:43:25 +1100 |
commit | b4e96b4c9bea4182846e4942ba2048e6d708ee54 (patch) | |
tree | bf113d6252dd709577e8a5310faf1aef289f776c /buffer.h | |
parent | 1c4ef0b808d3d38232aeeb1cebb7e9a43def42c5 (diff) |
Use !=NULL instead of >0 for getdefaultproj.
getdefaultproj() returns a pointer so test it for NULL inequality
instead of >0. Fixes compiler warning and is more correct. Patch from
David Binderman.
Diffstat (limited to 'buffer.h')
0 files changed, 0 insertions, 0 deletions