aboutsummaryrefslogtreecommitdiffstats
path: root/libnormalform_to_string.c
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2026-06-01 19:07:14 +0200
committerMattias Andrée <m@maandree.se>2026-06-01 19:07:14 +0200
commit77ade8d20906fe9ca2cf6788ff1e1437e0912868 (patch)
tree61495e90e057bf792bb1d8ce157cef0ecc2ab696 /libnormalform_to_string.c
parentFirst commit (diff)
downloadlibnormalform-77ade8d20906fe9ca2cf6788ff1e1437e0912868.tar.gz
libnormalform-77ade8d20906fe9ca2cf6788ff1e1437e0912868.tar.bz2
libnormalform-77ade8d20906fe9ca2cf6788ff1e1437e0912868.tar.xz
Second commitHEADmaster
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'libnormalform_to_string.c')
-rw-r--r--libnormalform_to_string.c4
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) {