summaryrefslogtreecommitdiff
path: root/src/glut/glx/win32_x11.h
diff options
context:
space:
mode:
authorJosé Fonseca <jrfonseca@tungstengraphics.com>2008-11-21 05:26:52 +0900
committerJosé Fonseca <jrfonseca@tungstengraphics.com>2008-12-12 16:06:42 +0900
commitd725537dbadc9a69446bc9e21aa31fdae7aa3339 (patch)
tree02ed36248b776a7729a09f36e2e3a19cf35a8cf7 /src/glut/glx/win32_x11.h
parente9e43321eeec31f1034272af094d90dde80f967d (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 6f5c3a9aea..daf065e27b 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. */