Skip to content

Commit

Permalink
fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
fennecdjay committed Mar 23, 2024
1 parent 9e66d06 commit 8897e0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/view.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ static size_t format_long(char c[64], long n) {


static void string_append_long(struct MdrString *str, const char prefix, long n) {
char c[64];
char c[128];
memset(c, 0, 64);
c[0] = prefix;
size_t sz = format_long(c + 1, n);
Expand Down

0 comments on commit 8897e0f

Please sign in to comment.