From 5e89953bf9ca04a21f1b7f28949c3000bf547436 Mon Sep 17 00:00:00 2001 From: Stefan Date: Wed, 17 Sep 2025 15:03:55 +0200 Subject: [PATCH] Fixed overflow --- src/common/gentype.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/common/gentype.c b/src/common/gentype.c index 1600a7c2f..1067fcbc6 100644 --- a/src/common/gentype.c +++ b/src/common/gentype.c @@ -102,7 +102,10 @@ const char* GT_AsString (const StrBuf* Type, StrBuf* String) ** will be zero terminated and a pointer to the contents are returned. */ { - static const char HexTab[16] = "0123456789ABCDEF"; + static const char HexTab[16] = { + '0','1','2','3','4','5','6','7', + '8','9','A','B','C','D','E','F' + }; unsigned I; /* Convert Type into readable hex. String will have twice then length