diff options
Diffstat (limited to 'src/com/mbien/opencl/CLDevice.java')
-rw-r--r-- | src/com/mbien/opencl/CLDevice.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/mbien/opencl/CLDevice.java b/src/com/mbien/opencl/CLDevice.java index 78f0f7bf..c6a632aa 100644 --- a/src/com/mbien/opencl/CLDevice.java +++ b/src/com/mbien/opencl/CLDevice.java @@ -338,7 +338,7 @@ public final class CLDevice { checkForError(ret, "can not receive device info string"); - return new String(bb.array(), 0, (int)longBuffer[0]); + return CLUtils.clString2JavaString(bb.array(), (int)longBuffer[0]); } |