]> git.saurik.com Git - wxWidgets.git/blobdiff - misc/unictabl/mk_ctable.c
Fix potential buffer overflow in wxSTC DefaultFont() function.
[wxWidgets.git] / misc / unictabl / mk_ctable.c
index 19b63326cc7d2698d8416a70a26a62b935c61053..9ee74184587a61f351eeb57d839358a1c3c7698f 100644 (file)
@@ -44,7 +44,7 @@ int main(int argc, char *argv[])
            " * %s to Unicode recoding table\n"
            " * based on file %s by Unicode Consortium\n"
            " */\n\n"
-           "static wxUint16 encoding_table__%s[128] = {",
+           "static const wxUint16 encoding_table__%s[128] = {",
            argv[2], argv[1], argv[2]);
            
     for (i = 128; i < 256; i++)