diff options
author | Ton Roosendaal <ton@blender.org> | 2010-12-03 22:42:40 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2010-12-03 22:42:40 +0300 |
commit | 0559f4f3e78b2c3bbb98e1b6833b26ca7590fa47 (patch) | |
tree | 2a15c7b0af7a19ac042e387741a21baff3d44c8a /source/blender/blenlib/intern/dynlib.c | |
parent | 1ebfb545ee3152369d3b834d98ce179d1d8171a0 (diff) |
Const conflict in PIL_dynlib_find_symbol
Thanks wiseman!
Diffstat (limited to 'source/blender/blenlib/intern/dynlib.c')
-rw-r--r-- | source/blender/blenlib/intern/dynlib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/dynlib.c b/source/blender/blenlib/intern/dynlib.c index 77ef00ca4e4..76a8a571480 100644 --- a/source/blender/blenlib/intern/dynlib.c +++ b/source/blender/blenlib/intern/dynlib.c @@ -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); } |