From e4f978fef8c2805413190f356f9101f6cd3a56cc Mon Sep 17 00:00:00 2001 From: Michael Bien Date: Sun, 13 Feb 2011 13:57:31 +0100 Subject: fixed compiler redundant-casts warnings due to language level changes in gluegen-rt. --- src/com/jogamp/opencl/CLProgram.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/com/jogamp/opencl/CLProgram.java') diff --git a/src/com/jogamp/opencl/CLProgram.java b/src/com/jogamp/opencl/CLProgram.java index 323e9b34..3cb63003 100644 --- a/src/com/jogamp/opencl/CLProgram.java +++ b/src/com/jogamp/opencl/CLProgram.java @@ -75,7 +75,7 @@ public class CLProgram extends CLObject implements CLResource { IntBuffer status = newDirectIntBuffer(1); - PointerBuffer length = (PointerBuffer)PointerBuffer.allocateDirect(1).put(0, src.length()); + PointerBuffer length = PointerBuffer.allocateDirect(1).put(0, src.length()); String[] srcArray = new String[] {src}; // Create the program -- cgit v1.2.3