Fix 32bits warnings

This commit is contained in:
Patrick Nicolas
2024-11-30 13:16:39 +01:00
parent 9eacb3b881
commit ba47c80213
6 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -384,7 +384,7 @@ void start_publishing()
return;
char protocol_string[17];
sprintf(protocol_string, "%016lx", wivrn::protocol_version);
sprintf(protocol_string, "%016" PRIx64, wivrn::protocol_version);
std::map<std::string, std::string> TXT = {
{"protocol", protocol_string},
{"version", wivrn::git_version},