Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit 27dfa4f6 authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Resolve gcc warning

warning: format ‘%lx’ expects argument of type ‘long unsigned int’
parent 06a56bba
Pipeline #2482 passed with stage
in 14 minutes and 55 seconds
......@@ -1117,7 +1117,7 @@ int create_netmail(const char *to, const smbmsg_t* msg, const char *subject, con
}
fprintf(fp,"\r");
}
fprintf(fp, "\1MSGID: %s %08lx\r", smb_faddrtoa(&faddr, NULL), time32(NULL));
fprintf(fp, "\1MSGID: %s %08lx\r", smb_faddrtoa(&faddr, NULL), (ulong)time32(NULL));
} else {
if(msg->ftn_msgid != NULL)
fprintf(fp, "\1MSGID: %.256s\r", msg->ftn_msgid);
......
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