Windows: Fix compiler warning

This commit is contained in:
Elias Naur 2006-10-30 15:49:02 +00:00
parent b2e21da777
commit b80ba7f262
1 changed files with 1 additions and 1 deletions

View File

@ -61,5 +61,5 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_WindowsPeerInfo_nChoosePixelFormat
JNIEXPORT jlong JNICALL Java_org_lwjgl_opengl_WindowsPeerInfo_nGetHwnd(JNIEnv *env, jclass unused, jobject peer_info_handle) {
WindowsPeerInfo *peer_info = (WindowsPeerInfo *)(*env)->GetDirectBufferAddress(env, peer_info_handle);
return peer_info->u.hwnd;
return (intptr_t)peer_info->u.hwnd;
}