diff options
-rw-r--r-- | src/java/com/sun/gluegen/JavaMethodBindingEmitter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/com/sun/gluegen/JavaMethodBindingEmitter.java b/src/java/com/sun/gluegen/JavaMethodBindingEmitter.java index ecd83ac..5e6f1cb 100644 --- a/src/java/com/sun/gluegen/JavaMethodBindingEmitter.java +++ b/src/java/com/sun/gluegen/JavaMethodBindingEmitter.java @@ -756,7 +756,7 @@ public class JavaMethodBindingEmitter extends FunctionEmitter writer.println(" return BufferFactory.asPointerBuffer(_res);"); } else { String returnTypeName = returnType.getName().substring("java.nio.".length()); - writer.println(" return _res.as" + returnTypeName + "()"); + writer.println(" return _res.as" + returnTypeName + "();"); } } else { writer.println(" return _res;"); |