Skip to content

Commit

Permalink
Fix format string for 64 bit integer
Browse files Browse the repository at this point in the history
This fixes also a warning from gcc.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
  • Loading branch information
stweil committed Jun 23, 2019
1 parent dfd35d3 commit c1264c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lstm/recodebeam.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit c1264c1

Please sign in to comment.