]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/base64.cpp
no changes, just a typo fix
[wxWidgets.git] / src / common / base64.cpp
index 2fb58c5b29e9d3e12e9b94fc3826caaadd7100e2..eeafaa40f40ef06b526bd18239e3228383dcddb5 100644 (file)
@@ -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: