X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cf72919c8406af6e0dd13935a8ef02c53fb0ddc9..f6f735d3c225ac1d308dfaf3c57e1af5e0db10b6:/src/unix/dlunix.cpp diff --git a/src/unix/dlunix.cpp b/src/unix/dlunix.cpp index dbf286a7d9..08e2f9b0b8 100644 --- a/src/unix/dlunix.cpp +++ b/src/unix/dlunix.cpp @@ -102,7 +102,7 @@ static void TranslateError(const char *path, int number) { unsigned int index; - static char *OFIErrorStrings[] = + static const char *OFIErrorStrings[] = { "%s(%d): Object Image Load Failure\n", "%s(%d): Object Image Load Success\n", @@ -110,7 +110,7 @@ void TranslateError(const char *path, int number) "%s(%d): No valid architecture\n", "%s(%d): Object image has an invalid format\n", "%s(%d): Invalid access (permissions?)\n", - "%s(%d): Unknown error code from NSCreateObjectFileImageFromFile\n", + "%s(%d): Unknown error code from NSCreateObjectFileImageFromFile\n" }; #define NUM_OFI_ERRORS (sizeof(OFIErrorStrings) / sizeof(OFIErrorStrings[0]))