summaryrefslogtreecommitdiff
path: root/ports/unix/modffi.c
diff options
context:
space:
mode:
Diffstat (limited to 'ports/unix/modffi.c')
-rw-r--r--ports/unix/modffi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/unix/modffi.c b/ports/unix/modffi.c
index 78adccac1..024f83c14 100644
--- a/ports/unix/modffi.c
+++ b/ports/unix/modffi.c
@@ -144,7 +144,7 @@ STATIC mp_obj_t return_ffi_value(ffi_arg val, char type)
if (!s) {
return mp_const_none;
}
- return mp_obj_new_str(s, strlen(s), false);
+ return mp_obj_new_str(s, strlen(s));
}
case 'v':
return mp_const_none;