From 89ad086d48ce3a7528deb43d3ecd73d44b09b946 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Fran=C3=A7ois=20DEL=20NERO?= Date: Sun, 11 Oct 2026 22:55:37 +0200 Subject: [PATCH] Potential fix for code scanning alert no. 24: Wrong type of arguments to formatting function Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- libhxcfe/sources/thirdpartylibs/adflib/Demo/unadf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libhxcfe/sources/thirdpartylibs/adflib/Demo/unadf.c b/libhxcfe/sources/thirdpartylibs/adflib/Demo/unadf.c index 40ed6d52..8867dadf 100644 --- a/libhxcfe/sources/thirdpartylibs/adflib/Demo/unadf.c +++ b/libhxcfe/sources/thirdpartylibs/adflib/Demo/unadf.c @@ -74,7 +74,7 @@ void printEnt(struct Volume *vol, struct Entry* entry, char *path, BOOL sect) if (entry->type==ST_DIR) printf(" "); else - printf("%7ld ",entry->size); + printf("%7u ",entry->size); printf("%4d/%02d/%02d %2d:%02d:%02d ",entry->year, entry->month, entry->days, entry->hour, entry->mins, entry->secs);