X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0d4ba4ef64df86b73abcebb4ef5ff045083b7468..58fda45507ec59ab5a6e89436ccff29023db9871:/src/common/filefn.cpp diff --git a/src/common/filefn.cpp b/src/common/filefn.cpp index baeec9ec91..22f0636f92 100644 --- a/src/common/filefn.cpp +++ b/src/common/filefn.cpp @@ -558,7 +558,7 @@ static CharType *wxDoExpandPath(CharType *buf, const wxString& name) buf[0] = wxT('\0'); if (name.empty()) return buf; - nm = MYcopystring((const CharType*)name.c_str()); // Make a scratch copy + nm = ::MYcopystring(static_cast(name.c_str())); // Make a scratch copy CharType *nm_tmp = nm; /* Skip leading whitespace and cr */