Const conflict in PIL_dynlib_find_symbol
authorTon Roosendaal <ton@blender.org>
Fri, 3 Dec 2010 19:42:40 +0000 (19:42 +0000)
committerTon Roosendaal <ton@blender.org>
Fri, 3 Dec 2010 19:42:40 +0000 (19:42 +0000)
Thanks wiseman!

source/blender/blenlib/intern/dynlib.c

index 77ef00ca4e47a894976f450850756534f8347a10..76a8a571480455332ce4810cdd0282834ec9bb78 100644 (file)
@@ -63,7 +63,7 @@ PILdynlib *PIL_dynlib_open(char *name) {
        }
 }
 
-void *PIL_dynlib_find_symbol(PILdynlib* lib, char *symname) {
+void *PIL_dynlib_find_symbol(PILdynlib* lib, const char *symname) {
        return GetProcAddress(lib->handle, symname);
 }