diff --git a/compiler_v4/src/mono_to_c.rs b/compiler_v4/src/mono_to_c.rs index 9e0ad800c..dedb664e5 100644 --- a/compiler_v4/src/mono_to_c.rs +++ b/compiler_v4/src/mono_to_c.rs @@ -396,7 +396,7 @@ impl<'h> Context<'h> { int length = snprintf(NULL, 0, \"%ld\", {int}->value); char* result = malloc(length + 1); snprintf(result, length + 1, \"%ld\", {int}->value); - + Text* result_pointer = malloc(sizeof(Text)); result_pointer->value = result; return result_pointer;",