X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8e38fd1fb0d8c4508383f3d9ce2f3ae0c6d39cfd..a7c26d107d0c6f191e55d30613f4816e9c2f9386:/src/common/longlong.cpp diff --git a/src/common/longlong.cpp b/src/common/longlong.cpp index 90dd05b8e4..4b08f13d66 100644 --- a/src/common/longlong.cpp +++ b/src/common/longlong.cpp @@ -8,14 +8,14 @@ // Created: 10.02.99 // RCS-ID: $Id$ // Copyright: (c) 1998 Vadim Zeitlin -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// // ============================================================================ // headers // ============================================================================ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "longlong.h" #endif @@ -996,7 +996,7 @@ wxLongLongWx& wxLongLongWx::operator/=(const wxLongLongWx& ll) wxULongLongWx& wxULongLongWx::operator/=(const wxULongLongWx& ll) { - wxLongLongWx quotient, remainder; + wxULongLongWx quotient, remainder; Divide(ll, quotient, remainder); @@ -1113,7 +1113,7 @@ wxULongLongWx::ToString() const while ( ll != 0 ) { - result.Prepend((wxChar)(_T('0') + (ll % 10).ToLong())); + result.Prepend((wxChar)(_T('0') + (ll % 10).ToULong())); ll /= 10; }