]> git.saurik.com Git - wxWidgets.git/commitdiff
Applied some of the SGI fixes. Don't know about the
authorRobert Roebling <robert@roebling.de>
Mon, 24 Jan 2000 13:27:37 +0000 (13:27 +0000)
committerRobert Roebling <robert@roebling.de>
Mon, 24 Jan 2000 13:27:37 +0000 (13:27 +0000)
    toolbar one.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/datetime.inl
src/common/longlong.cpp
src/unix/dialup.cpp

index 49567d13271f8c6c16e938d6c48b828d4766fb10..8d3112b6a43f763484373648389df3075a65d73e 100644 (file)
@@ -75,7 +75,8 @@ wxDateTime& wxDateTime::Set(time_t timet)
 
 wxDateTime& wxDateTime::SetToCurrent()
 {
-    return *this = Now();
+    *this = Now();
+    return *this;
 }
 
 #if (!(defined(__VISAGECPP__) && __IBMCPP__ >= 400))
index 5fd1016b5f3b0801fe2330aeebb14c156c1f30a3..d85b5420fb4b017f5316c7ff7e3a9be8cd85bd45 100644 (file)
@@ -591,7 +591,9 @@ wxLongLongWx& wxLongLongWx::operator/=(const wxLongLongWx& ll)
 
     Divide(ll, quotient, remainder);
 
-    return *this = quotient;
+    *this = quotient;
+    
+    return *this;
 }
 
 wxLongLongWx wxLongLongWx::operator%(const wxLongLongWx& ll) const
index 1e2154ce5eef5767ba8e2577b67cf0162adac5b7..5bbfd306d0a739c30ca6e6a8e5d0007e3bb2c54f 100644 (file)
@@ -566,7 +566,7 @@ wxDialUpManagerImpl::CheckIfconfig(void)
                     || strstr(output,"sl")  // slip
                     || strstr(output,"pl"); // plip
 #elif defined(__SGI__)  // IRIX
-               rc = strstr(output, "ppp"); // PPP
+               rc = (int) strstr(output, "ppp"); // PPP
 #elif defined(__HPUX__)
                // if could run ifconfig on interface, then it exists
                rc = TRUE;