aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2011-09-21 12:43:21 +0200
committerDan Gudmundsson <[email protected]>2011-09-21 12:49:41 +0200
commit3ea678d6036f10a6be7a5ae8c8431e067104b32f (patch)
treee3c186481dfa3c9bb663c9a136d064df985ca930
parent9849688f10ab4536a856192c4f42af9ead5a3a77 (diff)
downloadotp-3ea678d6036f10a6be7a5ae8c8431e067104b32f.tar.gz
otp-3ea678d6036f10a6be7a5ae8c8431e067104b32f.tar.bz2
otp-3ea678d6036f10a6be7a5ae8c8431e067104b32f.zip
[wx] Remove warning
-rw-r--r--lib/wx/c_src/egl_impl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/wx/c_src/egl_impl.cpp b/lib/wx/c_src/egl_impl.cpp
index 6a551beed7..6d873abc44 100644
--- a/lib/wx/c_src/egl_impl.cpp
+++ b/lib/wx/c_src/egl_impl.cpp
@@ -95,7 +95,7 @@ int egl_init_opengl(void *erlCallbacks)
}
int load_gl_functions() {
- DL_CHAR * DLName = OPENGL_LIB;
+ DL_CHAR * DLName = (DL_CHAR *) OPENGL_LIB;
DL_LIB_P LIBhandle = dlopen(DLName, RTLD_LAZY);
//fprintf(stderr, "Loading GL: %s\r\n", (const char*)DLName);
void * func = NULL;
@@ -127,7 +127,7 @@ int load_gl_functions() {
fprintf(stderr, "Could NOT load OpenGL library: %s\r\n", DLName);
};
- DLName = OPENGLU_LIB;
+ DLName = (DL_CHAR *) OPENGLU_LIB;
LIBhandle = dlopen(DLName, RTLD_LAZY);
// fprintf(stderr, "Loading GLU: %s\r\n", (const char*)DLName);
func = NULL;