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 <jfonseca@vmware.com>2011-07-11 20:05:23 +0100
commitb76478f86b8ff32b1639f1a6c2a567c09f8588a5 (patch)
tree2e871ddd89354ec99a60f6e1f612208a05ff2e78 /src/glut/glx/win32_x11.h
parentc60f977b7e8db821a790bce1fa34bcec47e23fd7 (diff)
downloadglut-b76478f86b8ff32b1639f1a6c2a567c09f8588a5.tar.gz
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 6f5c3a9..daf065e 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. */