diff --git a/Sources/backends/util.c b/Sources/backends/util.c index b02b6d4..aec1c9a 100644 --- a/Sources/backends/util.c +++ b/Sources/backends/util.c @@ -9,7 +9,7 @@ void indent(char *code, size_t *offset, int indentation) { char str[16]; memset(str, '\t', sizeof(str)); str[indentation] = 0; - *offset += sprintf(&code[*offset], str); + *offset += sprintf(&code[*offset], "%s", str); } static void find_referenced_global_for_var(variable v, global_id *globals, size_t *globals_size) {