]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/dialup.cpp
Simplified event based Drag API for wxDataViewCtrl
[wxWidgets.git] / src / unix / dialup.cpp
index a46b3b9bf8b844807f772ddd8d62eaa0afe63ea7..683f7b7b33fd04a1ee5697300b51e8eb0e845346 100644 (file)
@@ -721,8 +721,8 @@ wxDialUpManagerImpl::CheckIfconfig()
 
 #if defined(__SOLARIS__) || defined (__SUNOS__)
                     // dialup device under SunOS/Solaris
-                    hasModem = strstr(output.fn_str(),"ipdptp") != (char *)NULL;
-                    hasLAN = strstr(output.fn_str(), "hme") != (char *)NULL;
+                    hasModem = strstr(output.fn_str(),"ipdptp") != NULL;
+                    hasLAN = strstr(output.fn_str(), "hme") != NULL;
 #elif defined(__LINUX__) || defined (__FREEBSD__)
                     hasModem = strstr(output.fn_str(),"ppp")    // ppp
                         || strstr(output.fn_str(),"sl")  // slip