summaryrefslogtreecommitdiffstats
path: root/src/nativewindow
diff options
context:
space:
mode:
Diffstat (limited to 'src/nativewindow')
-rw-r--r--src/nativewindow/native/win32/GDImisc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nativewindow/native/win32/GDImisc.c b/src/nativewindow/native/win32/GDImisc.c
index 677c71025..76143c426 100644
--- a/src/nativewindow/native/win32/GDImisc.c
+++ b/src/nativewindow/native/win32/GDImisc.c
@@ -663,7 +663,7 @@ static BOOL SetProcessThreadsAffinityMask( DWORD dwOwnerPID, DWORD_PTR newTAffin
}
JNIEXPORT void JNICALL Java_jogamp_nativewindow_windows_GDIUtil_SetProcessThreadsAffinityMask0
- (JNIEnv *env, jclass unused, long affinityMask, jboolean verbose)
+ (JNIEnv *env, jclass unused, jlong affinityMask, jboolean verbose)
{
SetProcessThreadsAffinityMask( GetCurrentProcessId(), (DWORD_PTR)(intptr_t)affinityMask, (BOOL)verbose );
}
@@ -671,7 +671,7 @@ JNIEXPORT void JNICALL Java_jogamp_nativewindow_windows_GDIUtil_SetProcessThread
#else
JNIEXPORT void JNICALL Java_jogamp_nativewindow_windows_GDIUtil_SetProcessThreadsAffinityMask0
- (JNIEnv *env, jclass unused, long affinityMask, jboolean verbose)
+ (JNIEnv *env, jclass unused, jlong affinityMask, jboolean verbose)
{
}