]> git.saurik.com Git - wxWidgets.git/commitdiff
gcc warning fix: don't use NULL where integer is required
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 12 Nov 2006 21:18:52 +0000 (21:18 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 12 Nov 2006 21:18:52 +0000 (21:18 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/corefoundation/stdpaths_cf.cpp

index 12c4e3db0467c63f1d6983147db92190cf16142e..bd254964adfdfeffd2ec50bf864940084d3c6bf8 100644 (file)
@@ -157,7 +157,7 @@ wxString wxStandardPathsCF::GetExecutablePath() const
     ProcessSerialNumber procno ;
     FSSpec fsSpec;
 
-    procno.highLongOfPSN = NULL ;
+    procno.highLongOfPSN = 0 ;
     procno.lowLongOfPSN = kCurrentProcess ;
     processinfo.processInfoLength = sizeof(ProcessInfoRec);
     processinfo.processName = NULL;