Merge commit 'origin/master' into gallium-0.2
[mesa.git] / src / glut / glx / win32_x11.h
index 6f5c3a9aeaf44b859ba16774cf2589b28ad175f1..daf065e27b89304d5f8f668bba1cdce656930ea8 100644 (file)
@@ -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. */