From ce9f1c02f1eaa10baa869df855beb115340633a1 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Fri, 27 Sep 2019 18:03:10 +0200 Subject: [PATCH] dialogs:: itsh(ld) fixed --- dialogs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogs.cpp b/dialogs.cpp index 17c5912a..3acfb68d 100644 --- a/dialogs.cpp +++ b/dialogs.cpp @@ -712,7 +712,7 @@ EX namespace dialog { } EX string disp(ld x) { - if(dialogflags & sm::HEXEDIT) return "0x" + itsh(x); + if(dialogflags & sm::HEXEDIT) return "0x" + itsh((unsigned long long)(x)); else if(ne.intval) return its(ldtoint(x)); else return fts(x); }