summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
Diffstat (limited to 'linux')
-rwxr-xr-xlinux/linux_gl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/linux_gl.cpp b/linux/linux_gl.cpp
index d5819f3..bd083b8 100755
--- a/linux/linux_gl.cpp
+++ b/linux/linux_gl.cpp
@@ -45,7 +45,7 @@ PFNGLXGETPROCADDRESSARB pfnglXGetProcAddressARB;
void* Sys_GLGetProc (const char *symbol)
{
void* func = dlsym (gl_module, symbol);
- char* error = dlerror ();
+ const char* error = dlerror ();
if (error)
printf ("Error loading OpenGL library.\n%s\n", error);
return func;
@@ -61,7 +61,7 @@ void* Sys_GLGetExtension (const char *symbol)
bool Sys_GLOpenLibrary (const char* libname)
{
- char *error;
+ const char *error;
if (libname)
{