]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/longlong.cpp
bug fix for wxBufferedInputStream::LastCount() after Read()
[wxWidgets.git] / src / common / longlong.cpp
index 90dd05b8e40c2ff55feea6253c2edb032e1a1493..a76f8950337944687fd4212d7530f4bab2317bf3 100644 (file)
@@ -996,7 +996,7 @@ wxLongLongWx& wxLongLongWx::operator/=(const wxLongLongWx& ll)
 
 wxULongLongWx& wxULongLongWx::operator/=(const wxULongLongWx& ll)
 {
 
 wxULongLongWx& wxULongLongWx::operator/=(const wxULongLongWx& ll)
 {
-    wxLongLongWx quotient, remainder;
+    wxULongLongWx quotient, remainder;
 
     Divide(ll, quotient, remainder);
 
 
     Divide(ll, quotient, remainder);
 
@@ -1113,7 +1113,7 @@ wxULongLongWx::ToString() const
 
     while ( ll != 0 )
     {
 
     while ( ll != 0 )
     {
-        result.Prepend((wxChar)(_T('0') + (ll % 10).ToLong()));
+        result.Prepend((wxChar)(_T('0') + (ll % 10).ToULong()));
         ll /= 10;
     }
 
         ll /= 10;
     }