X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b76b015ed9231ffe128ddba9fb35e37b4be9764d..b40b0f5b204d59bbc1d3e66c5bba192b878469a6:/src/common/log.cpp diff --git a/src/common/log.cpp b/src/common/log.cpp index 4f855381f4..6d99576b99 100644 --- a/src/common/log.cpp +++ b/src/common/log.cpp @@ -535,7 +535,7 @@ const wxChar *wxSysErrorMsg(unsigned long nErrCode) wxConvCurrent->MB2WC(s_szBuf, strerror(nErrCode), WXSIZEOF(s_szBuf) -1); return s_szBuf; #else - return strerror(nErrCode); + return strerror((int)nErrCode); #endif #endif // Win/Unix }