diff options
| author | Mattias Andrée <m@maandree.se> | 2026-06-01 19:07:14 +0200 |
|---|---|---|
| committer | Mattias Andrée <m@maandree.se> | 2026-06-01 19:07:14 +0200 |
| commit | 77ade8d20906fe9ca2cf6788ff1e1437e0912868 (patch) | |
| tree | 61495e90e057bf792bb1d8ce157cef0ecc2ab696 /libnormalform_to_string.c | |
| parent | First commit (diff) | |
| download | libnormalform-77ade8d20906fe9ca2cf6788ff1e1437e0912868.tar.gz libnormalform-77ade8d20906fe9ca2cf6788ff1e1437e0912868.tar.bz2 libnormalform-77ade8d20906fe9ca2cf6788ff1e1437e0912868.tar.xz | |
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'libnormalform_to_string.c')
| -rw-r--r-- | libnormalform_to_string.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libnormalform_to_string.c b/libnormalform_to_string.c index 74aa839..fcf2981 100644 --- a/libnormalform_to_string.c +++ b/libnormalform_to_string.c @@ -65,10 +65,10 @@ add_string(struct string_construction *s, const char *str) */ USE_RESULT NONNULL_INPUT static int -add_number(struct string_construction *s, size_t n) +add_number(struct string_construction *s, size_t num) { char buf[3 * sizeof(size_t)], *str; - int len = sprintf(buf, "%zu", n); + int len = sprintf(buf, "%zu", num); if (len < 0) abort(); if (s->dyn_n == s->dyn_size) { |
