aboutsummaryrefslogtreecommitdiffstats
path: root/src/glut/glx/win32_x11.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/glut/glx/win32_x11.h')
-rw-r--r--src/glut/glx/win32_x11.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glut/glx/win32_x11.h b/src/glut/glx/win32_x11.h
index 6f5c3a9aeaf..daf065e27b8 100644
--- a/src/glut/glx/win32_x11.h
+++ b/src/glut/glx/win32_x11.h
@@ -228,7 +228,7 @@ typedef struct {
SetWindowPos(window, HWND_BOTTOM, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE)
#define XSetWMName(display, window, tp) \
- SetWindowText(window, (tp)->value)
+ SetWindowText(window, (const char *)(tp)->value)
/* There really isn't a way to set the icon name separate from the
windows name in Win32, so, just set the windows name. */