diff --git a/src/native/win32/org_lwjgl_input_Cursor.cpp b/src/native/win32/org_lwjgl_input_Cursor.cpp index bb016c25..2fd881fa 100755 --- a/src/native/win32/org_lwjgl_input_Cursor.cpp +++ b/src/native/win32/org_lwjgl_input_Cursor.cpp @@ -10,7 +10,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_input_Cursor_nCreateCursor (JNIEnv *env, jclass clazz, jint width, jint height, jint x_hotspot, jint y_hotspot, jint num_images, jobject image_buffer, jobject delay_buffer) { - const int *pixels = (const int *)env->GetDirectBufferAddress(image_buffer); + int *pixels = (int *)env->GetDirectBufferAddress(image_buffer); BITMAPINFO bitmapInfo;