From 81aa678ce8f4a1f7c75b928ba2b107908959d50d Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Fri, 21 Nov 2008 05:26:52 +0900 Subject: glut: MinGW portability fixes. Still, it doesn't run as well as the glut binaries... --- src/glut/glx/win32_x11.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/glut/glx/win32_x11.h') 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. */ -- cgit v1.2.3