CVS commit by kossebau: indexing by char may fail on some platforms, as gcc warns about M +6 -6 hexclipboard.cc 1.5 --- kdeutils/khexedit/hexclipboard.cc #1.4:1.5 @@ -53,7 +53,7 @@ static const uchar *base64DecodeTable( v for( i = 'a'; i <= 'z'; i++ ) { table[i] = 26 + (i - 'a'); } for( i = '0'; i <= '9'; i++ ) { table[i] = 52 + (i - '0'); } - table['+'] = 62; - table['/'] = 63; - table['='] = 0; + table[(uchar)'+'] = 62; + table[(uchar)'/'] = 63; + table[(uchar)'='] = 0; init = true; }