From: Wootak Jung Date: Thu, 6 Jun 2024 22:39:30 +0000 (+0900) Subject: Fix the build error for gcc-14 X-Git-Tag: accepted/tizen/unified/toolchain/20240610.173013^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1a1361af5c8f2bb423afb522c1d2d6af664323b2;p=platform%2Fcore%2Ftelephony%2Ftel-plugin-nitz.git Fix the build error for gcc-14 Change-Id: Iba5bc31bd1ae485a8e11e4bd58c87953f14cc8cb Signed-off-by: Wootak Jung --- 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;