Skip to content

Commit c1264c1

Browse files
committed
Fix format string for 64 bit integer
This fixes also a warning from gcc. Signed-off-by: Stefan Weil <[email protected]>
1 parent dfd35d3 commit c1264c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lstm/recodebeam.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ void RecodeNode::Print(int null_char, const UNICHARSET& unicharset,
4747
tprintf("label=%d, uid=%d=%s", code, unichar_id,
4848
unicharset.debug_str(unichar_id).string());
4949
}
50-
tprintf(" score=%g, c=%g,%s%s%s perm=%d, hash=%lx", score, certainty,
50+
tprintf(" score=%g, c=%g,%s%s%s perm=%d, hash=%llx", score, certainty,
5151
start_of_dawg ? " DawgStart" : "", start_of_word ? " Start" : "",
5252
end_of_word ? " End" : "", permuter, code_hash);
5353
if (depth > 0 && prev != nullptr) {

0 commit comments

Comments
 (0)