]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/log.cpp
Updated wxvc_dll.dsp and memory.h to make VC++ compile in DLL mode again
[wxWidgets.git] / src / common / log.cpp
index 4f855381f419e918e10f0e1925bef62072e8da8a..6d99576b99d69f9ca5e3a448fe7fd15c5c462516 100644 (file)
@@ -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
 }