Skip to content

Commit

Permalink
Fix a warning
Browse files Browse the repository at this point in the history
  • Loading branch information
RobDangerous committed Aug 27, 2024
1 parent e46e452 commit 5bb471c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/backends/util.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 5bb471c

Please sign in to comment.