Skip to content

Commit 745e4ca

Browse files
committed
Use format macro to dump proof expiry
1 parent 041cc02 commit 745e4ca

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_pro_backend.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
#include <sodium.h>
55

66
#include <catch2/catch_test_macros.hpp>
7+
#include <cinttypes>
78
#include <nlohmann/json.hpp>
89
#include <session/config/pro.hpp>
910
#include <session/pro_backend.hpp>
@@ -31,7 +32,7 @@ static bool string8_equals(string8 s8, std::string_view str) {
3132
fprintf(stderr,
3233
"proof.rotating_pubkey: %s\n",
3334
oxenc::to_hex(proof.rotating_pubkey.data).c_str());
34-
fprintf(stderr, "proof.expiry_unix_ts_ms: %zu\n", proof.expiry_unix_ts_ms);
35+
fprintf(stderr, "proof.expiry_unix_ts_ms: %" PRIu64 "\n", proof.expiry_unix_ts_ms);
3536
fprintf(stderr, "proof.sig: %s\n", oxenc::to_hex(proof.sig.data).c_str());
3637
}
3738

0 commit comments

Comments
 (0)