Fix log_* formats which expect size_t but receive uint32_t.
This commit is contained in:
@@ -53,7 +53,7 @@ double test_accuracy(char *filename) {
|
||||
|
||||
}
|
||||
|
||||
log_info("total=%zu\n", total);
|
||||
log_info("total=%" PRIu32 "\n", total);
|
||||
|
||||
trie_destroy(label_ids);
|
||||
|
||||
@@ -85,4 +85,4 @@ int main(int argc, char **argv) {
|
||||
|
||||
double accuracy = test_accuracy(filename);
|
||||
log_info("Done. Accuracy: %f\n", accuracy);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user