X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/617ec45690c340d059726a09ccfe4bab9a42d82e..03e11df5470fd64d9d9a669d0b50b84c2d714736:/src/common/longlong.cpp diff --git a/src/common/longlong.cpp b/src/common/longlong.cpp index 5fd1016b5f..4569d208af 100644 --- a/src/common/longlong.cpp +++ b/src/common/longlong.cpp @@ -70,7 +70,7 @@ ostream& operator<< (ostream& o, const wxLongLongNative& ll) for (int i = 0; i < 64; i++) { - result[63 - i] = '0' + (char) ((ll.m_ll >> i) & 1); + result[63 - i] = '0' + (char) ((ll.GetValue() >> i) & 1); } return o << result; @@ -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