From aee4661e9650cee724e3bc43287bb58317f44433 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Fri, 1 Oct 2004 18:48:27 +0000 Subject: We can't use "%d" on a histent number (which is a zlong these days). Changed the sprintf() to convbase(). --- Src/Modules/parameter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Src') diff --git a/Src/Modules/parameter.c b/Src/Modules/parameter.c index 01737ca27..1df6631fe 100644 --- a/Src/Modules/parameter.c +++ b/Src/Modules/parameter.c @@ -1090,7 +1090,7 @@ scanpmhistory(UNUSED(HashTable ht), ScanFunc func, int flags) while (he) { if (func != scancountparams) { - sprintf(buf, "%d", he->histnum); + convbase(buf, he->histnum, 10); pm.nam = dupstring(buf); if ((flags & (SCANPM_WANTVALS|SCANPM_MATCHVAL)) || !(flags & SCANPM_WANTKEYS)) -- cgit 1.4.1