commit | b4e96b4c9bea4182846e4942ba2048e6d708ee54 | [log] [tgz] |
---|---|---|
author | Darren Tucker <dtucker@zip.com.au> | Wed Oct 26 08:43:25 2016 +1100 |
committer | Darren Tucker <dtucker@zip.com.au> | Wed Oct 26 08:43:25 2016 +1100 |
tree | bf113d6252dd709577e8a5310faf1aef289f776c | |
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.