diff options
-rw-r--r-- | Src/Modules/parameter.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)) |