X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dee1a63ff52bfe4da396187f8438aa1a29796737..7b504551c292ecb4296693983161ac5ad03745f6:/src/common/stream.cpp diff --git a/src/common/stream.cpp b/src/common/stream.cpp index 07984617d2..435b60f266 100644 --- a/src/common/stream.cpp +++ b/src/common/stream.cpp @@ -664,7 +664,7 @@ size_t wxStreamBase::GetSize() const return 0; const size_t len = wx_truncate_cast(size_t, length); - wxASSERT_MSG( len == length, _T("large files not supported") ); + wxASSERT_MSG( len == length + size_t(0), _T("large files not supported") ); return len; }