aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2014-07-30 20:41:08 +0200
committerSven Gothel <[email protected]>2014-07-30 20:41:08 +0200
commit6a130e4468fce954ac469e2e5fd78c8496fafe24 (patch)
tree3f2b1eda3bb4e41053fff17637a18dddcd1475ea /src
parentff5dba28610b4f680c9320e9e52669ed54d4de43 (diff)
Fix commit adf8e6e40aa9513036864489642cfef252804d08 (Bug 1036): long -> jlong in JNI func spec
Diffstat (limited to 'src')
-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)
{
}