summaryrefslogtreecommitdiffstats
path: root/src/glut/glx/glut_cursor.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glut/glx/glut_cursor.c')
-rw-r--r--src/glut/glx/glut_cursor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glut/glx/glut_cursor.c b/src/glut/glx/glut_cursor.c
index 74ecb9cd667..28e95568d64 100644
--- a/src/glut/glx/glut_cursor.c
+++ b/src/glut/glx/glut_cursor.c
@@ -164,7 +164,7 @@ __glutSetCursor(GLUTwindow *window)
break;
case GLUT_CURSOR_FULL_CROSSHAIR:
#if defined(_WIN32)
- xcursor = IDC_CROSS;
+ xcursor = (HICON) IDC_CROSS;
#else
if (fullCrosshairCusor == None) {
fullCrosshairCusor = getFullCrosshairCursor();