X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d05005c11f6c702273be30d4c306e94081df06aa..03a126c68c940c13a7a6c9ee183fa88e9b575a21:/src/common/base64.cpp diff --git a/src/common/base64.cpp b/src/common/base64.cpp index 2fb58c5b29..eeafaa40f4 100644 --- a/src/common/base64.cpp +++ b/src/common/base64.cpp @@ -118,7 +118,7 @@ wxBase64Decode(void *dst_, size_t dstLen, const char *p; for ( p = src; srcLen; p++, srcLen-- ) { - const unsigned char c = decode[(int)*p]; // cast to suppress warnings + const unsigned char c = decode[wx_static_cast(unsigned char, *p)]; switch ( c ) { case WSP: