Commit 3c909568 authored by deuce's avatar deuce
Browse files

Fix last Clang warning.

parent 6c64bf32
......@@ -371,7 +371,8 @@ void postmsg(char type, char* to, char* to_number, char* to_address,
}
smb_freemsgmem(&msg);
fprintf(statfp, "Message (%u bytes) added to %s successfully\n", strlen((char *)msgtxt), smb.file);
// MSVC can't do %zu for size_t until MSVC 2017 it seems...
fprintf(statfp, "Message (%" PRIu64 " bytes) added to %s successfully\n", (uint64_t)strlen((char *)msgtxt), smb.file);
FREE_AND_NULL(msgtxt);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment