Added a native NewStringNativeUnsigned to avoid compile warnings

This commit is contained in:
Elias Naur 2006-07-07 10:36:26 +00:00
parent b91cfd8b60
commit c64dd328f9
8 changed files with 90 additions and 82 deletions

View file

@ -141,7 +141,7 @@ public class NativeMethodStubsGenerator {
else
writer.print("safeNewBuffer(env, ");
} else if (String.class.equals(java_result_type))
writer.print("NewStringNative(env, ");
writer.print("NewStringNativeUnsigned(env, ");
writer.print(Utils.RESULT_VAR_NAME);
if (Buffer.class.isAssignableFrom(java_result_type)) {
writer.print(", ");