Signed-off-by: Tomek Grabiec <[email protected]>
---
 vm/object.c |    2 +-
 vm/utf8.c   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/vm/object.c b/vm/object.c
index 7ed883d..7381f6b 100644
--- a/vm/object.c
+++ b/vm/object.c
@@ -219,7 +219,7 @@ vm_object_alloc_string_from_c(const char *bytes)
 
        unsigned int n = strlen(bytes);
        struct vm_object *array
-               = vm_object_alloc_native_array(J_CHAR, n);
+               = vm_object_alloc_native_array(T_CHAR, n);
        if (!array) {
                NOT_IMPLEMENTED;
                return NULL;
diff --git a/vm/utf8.c b/vm/utf8.c
index 3db0fdc..36f914a 100644
--- a/vm/utf8.c
+++ b/vm/utf8.c
@@ -52,7 +52,7 @@ struct vm_object *utf8_to_char_array(const uint8_t *bytes, 
unsigned int n)
                return NULL;
 
        struct vm_object *array
-               = vm_object_alloc_native_array(J_CHAR, utf16_count);
+               = vm_object_alloc_native_array(T_CHAR, utf16_count);
        if (!array) {
                NOT_IMPLEMENTED;
                return array;
-- 
1.6.0.6


------------------------------------------------------------------------------
_______________________________________________
Jatovm-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jatovm-devel

Reply via email to