summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/sratom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sratom.c b/src/sratom.c
index df74338..b0a0aa4 100644
--- a/src/sratom.c
+++ b/src/sratom.c
@@ -140,7 +140,7 @@ sratom_set_object_mode(Sratom* sratom, SratomObjectMode object_mode)
static void
gensym(SerdNode* out, char c, unsigned num)
{
- out->n_bytes = out->n_chars = snprintf((char*)out->buf, 10, "%c%u", c, num);
+ out->n_bytes = out->n_chars = snprintf((char*)out->buf, 12, "%c%u", c, num);
}
static void