Skip to content
Snippets Groups Projects
Commit 14b3ad7d authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Another time_t warning... thanks OpenBSD!

parent 3f175388
No related branches found
No related tags found
1 merge request!455Update branch with changes from master
...@@ -595,11 +595,11 @@ bool sbbs_t::pack_qwk(char *packet, uint *msgcnt, bool prepack) ...@@ -595,11 +595,11 @@ bool sbbs_t::pack_qwk(char *packet, uint *msgcnt, bool prepack)
byte_estimate_to_str(ftell(qwk), tmp, sizeof(tmp), 1024, 1); byte_estimate_to_str(ftell(qwk), tmp, sizeof(tmp), 1024, 1);
if(online == ON_REMOTE) if(online == ON_REMOTE)
bprintf("\r\n\r\n\1n\1hPacked %u messages (%s bytes) in %u seconds " bprintf("\r\n\r\n\1n\1hPacked %u messages (%s bytes) in %u seconds "
"(%lu messages/second)." "(%" PRIu64 " messages/second)."
,(*msgcnt)+mailmsgs ,(*msgcnt)+mailmsgs
,tmp ,tmp
,(uint)elapsed ,(uint)elapsed
,((*msgcnt)+mailmsgs) / elapsed); ,(uint64_t)((*msgcnt)+mailmsgs) / elapsed);
lprintf(LOG_INFO, "packed %u messages (%s bytes) in %u seconds (%u msgs/sec)" lprintf(LOG_INFO, "packed %u messages (%s bytes) in %u seconds (%u msgs/sec)"
,(*msgcnt)+mailmsgs ,(*msgcnt)+mailmsgs
,tmp ,tmp
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment