niti-ffi: NativeString is re-a `char*` since #1502
authorJean Privat <jean@pryen.org>
Fri, 19 Jun 2015 02:06:57 +0000 (22:06 -0400)
committerJean Privat <jean@pryen.org>
Fri, 19 Jun 2015 02:06:57 +0000 (22:06 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>

src/interpreter/dynamic_loading_ffi/dynamic_loading_ffi.nit

index 656e685..3e4f4af 100644 (file)
@@ -96,7 +96,7 @@ private extern class CallArg `{ nit_call_arg* `}
        fun instance=(value: Instance) `{ self->value_Pointer = value; `}
 
        # The `NativeString` held by this cell
-       fun native_string: NativeString `{ return (unsigned char*)self->value_Pointer; `}
+       fun native_string: NativeString `{ return (char*)self->value_Pointer; `}
 
        # Set the content of this cell according to `static_type`
        #