[api] Fix format warnings in dump (#11999)

This commit is contained in:
Jonathan Swoboda authored and GitHub committed 2025-11-19 12:58:47 -05:00
1 parent 73bc5252a1
commit 61cef0a75c
2 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -66,7 +66,7 @@ static void dump_field(std::string &out, const char *field_name, float value, in
static void dump_field(std::string &out, const char *field_name, uint64_t value, int indent = 2) {
char buffer[64];
append_field_prefix(out, field_name, indent);
snprintf(buffer, 64, "%llu", value);
snprintf(buffer, 64, "%" PRIu64, value);
append_with_newline(out, buffer);
}