From df827c7c51d36da65c096ed714de6fe16b0670df Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Fri, 24 May 2024 21:30:56 +0100 Subject: [PATCH] Squash -Wcalloc-transposed-args (gcc-14) --- src/svgtiny.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/svgtiny.c b/src/svgtiny.c index 7550610..3101493 100644 --- a/src/svgtiny.c +++ b/src/svgtiny.c @@ -596,7 +596,7 @@ struct svgtiny_diagram *svgtiny_create(void) { struct svgtiny_diagram *diagram; - diagram = calloc(sizeof(*diagram), 1); + diagram = calloc(1, sizeof(*diagram)); if (!diagram) return 0; -- 2.44.2