summaryrefslogtreecommitdiffstats
path: root/src/glut/glx/win32_x11.h
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2008-11-21 05:26:52 +0900
committerJosé Fonseca <[email protected]>2008-11-21 10:44:31 +0900
commit81aa678ce8f4a1f7c75b928ba2b107908959d50d (patch)
treeeaf003019b7b713a9d6b337b3f73e4d94c1d0b42 /src/glut/glx/win32_x11.h
parent76624096617c7218d828c5de9c02e70d578c37c7 (diff)
glut: MinGW portability fixes.
Still, it doesn't run as well as the glut binaries...
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. */