X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f70ab56e16ece5b1b73d72b7320752dd1153e5a2..2aeec9ecccdb1b051848768f45a4ac1859ded5f3:/src/unix/dl_macosx.cpp?ds=sidebyside diff --git a/src/unix/dl_macosx.cpp b/src/unix/dl_macosx.cpp index 8e607cf912..60510e7344 100644 --- a/src/unix/dl_macosx.cpp +++ b/src/unix/dl_macosx.cpp @@ -68,7 +68,7 @@ void TranslateError(const char *path, enum dyldErrorSource type, int number) } } -void *dlopen(char *path, int mode /* mode is ignored */) +void *dlopen(const char *path, int mode /* mode is ignored */) { int dyld_result; NSObjectFileImage ofile; @@ -89,7 +89,7 @@ void *dlopen(char *path, int mode /* mode is ignored */) return handle; } -void *dlsym(void *handle, char *symbol) +void *dlsym(void *handle, const char *symbol) { void *addr;