Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion machine/capi/string.cpp
Original file line number Diff line number Diff line change
@@ -185,7 +185,7 @@ extern "C" {
*store = 0;

String* str = c_as<String>(env->get_object(s));
str->num_bytes(env->state(), 0);
str->num_bytes(env->state(), Fixnum::from(0));
str->data(env->state(), ByteArray::create(env->state(), 1));
}

0 comments on commit bcd14db

Please sign in to comment.