From fe5248717faa1c99a4d0c761fa8da63afffc5d3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Valverde?= Date: Fri, 17 Dec 2021 20:05:19 +0000 Subject: Replace g_snprintf() with snprintf() Use macros from inttypes.h with format strings. --- wiretap/k12.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'wiretap/k12.c') diff --git a/wiretap/k12.c b/wiretap/k12.c index a667a98096..e5e145cd5a 100644 --- a/wiretap/k12.c +++ b/wiretap/k12.c @@ -90,7 +90,7 @@ void k12_hex_ascii_dump(guint level, gint64 offset, const char* label, const uns if (debug_level < level) return; - fprintf(dbg_out,"%s(%.8" G_GINT64_MODIFIER "x,%.4x):\n",label,offset,len); + fprintf(dbg_out,"%s(%.8" PRIx64 ",%.4x):\n",label,offset,len); for (i=0 ; i left) { /* -- cgit v1.2.3