diff options
Diffstat (limited to 'src/com/mbien/opencl/NativeLibLoader.java')
-rw-r--r-- | src/com/mbien/opencl/NativeLibLoader.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/com/mbien/opencl/NativeLibLoader.java b/src/com/mbien/opencl/NativeLibLoader.java index b8148432..d6808dbc 100644 --- a/src/com/mbien/opencl/NativeLibLoader.java +++ b/src/com/mbien/opencl/NativeLibLoader.java @@ -10,9 +10,8 @@ import com.sun.nativewindow.impl.NativeLibLoaderBase; */ class NativeLibLoader extends NativeLibLoaderBase { - @SuppressWarnings("unchecked") public static void loadJOCL() { - AccessController.doPrivileged(new PrivilegedAction() { + AccessController.doPrivileged(new PrivilegedAction<Object>() { public Object run() { loadLibrary("jocl", null, true); return null; |