Skip to content
Snippets Groups Projects
Commit 27dfa4f6 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Resolve gcc warning

warning: format ‘%lx’ expects argument of type ‘long unsigned int’
parent 06a56bba
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #2482 passed
...@@ -1117,7 +1117,7 @@ int create_netmail(const char *to, const smbmsg_t* msg, const char *subject, con ...@@ -1117,7 +1117,7 @@ int create_netmail(const char *to, const smbmsg_t* msg, const char *subject, con
} }
fprintf(fp,"\r"); 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 { } else {
if(msg->ftn_msgid != NULL) if(msg->ftn_msgid != NULL)
fprintf(fp, "\1MSGID: %.256s\r", msg->ftn_msgid); fprintf(fp, "\1MSGID: %.256s\r", msg->ftn_msgid);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment