From c1264c189e6fd6de3e79135a46ecba3d00931147 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Mon, 30 Jan 2017 21:01:41 +0100 Subject: [PATCH] Fix format string for 64 bit integer This fixes also a warning from gcc. Signed-off-by: Stefan Weil --- src/lstm/recodebeam.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lstm/recodebeam.cpp b/src/lstm/recodebeam.cpp index 14226080..d9589de0 100644 --- a/src/lstm/recodebeam.cpp +++ b/src/lstm/recodebeam.cpp @@ -47,7 +47,7 @@ void RecodeNode::Print(int null_char, const UNICHARSET& unicharset, tprintf("label=%d, uid=%d=%s", code, unichar_id, unicharset.debug_str(unichar_id).string()); } - tprintf(" score=%g, c=%g,%s%s%s perm=%d, hash=%lx", score, certainty, + tprintf(" score=%g, c=%g,%s%s%s perm=%d, hash=%llx", score, certainty, start_of_dawg ? " DawgStart" : "", start_of_word ? " Start" : "", end_of_word ? " End" : "", permuter, code_hash); if (depth > 0 && prev != nullptr) {