Fix format string for 64 bit integer (CID 1402986)

Commit c1264c189e was not the right fix.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
Stefan Weil 2019-07-10 16:20:50 +02:00
parent 7fab891e36
commit ee04347347

View File

@ -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=%llx", score, certainty,
tprintf(" score=%g, c=%g,%s%s%s perm=%d, hash=%" PRIx64, score, certainty,
start_of_dawg ? " DawgStart" : "", start_of_word ? " Start" : "",
end_of_word ? " End" : "", permuter, code_hash);
if (depth > 0 && prev != nullptr) {