From 1a1361af5c8f2bb423afb522c1d2d6af664323b2 Mon Sep 17 00:00:00 2001 From: Wootak Jung Date: Fri, 7 Jun 2024 07:39:30 +0900 Subject: [PATCH] Fix the build error for gcc-14 Change-Id: Iba5bc31bd1ae485a8e11e4bd58c87953f14cc8cb Signed-off-by: Wootak Jung --- src/desc-nitz.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/desc-nitz.c b/src/desc-nitz.c index e1709d0..c0f96ad 100644 --- a/src/desc-nitz.c +++ b/src/desc-nitz.c @@ -572,7 +572,7 @@ static gboolean on_init(TcorePlugin *p) if (!s) return FALSE; - data = calloc(sizeof(struct nitz_custom_data), 1); + data = calloc(1, sizeof(struct nitz_custom_data)); if (!data) return FALSE; -- 2.34.1