Skip to content
Snippets Groups Projects
Commit 83c4e001 authored by Moe Jette's avatar Moe Jette
Browse files

fix typedef to match print arguments and avoid a warning

parent ab054408
No related branches found
No related tags found
No related merge requests found
......@@ -554,7 +554,7 @@ static size_t _send_msg(slurm_fd_t new_fd, char *buf, size_t size)
data_sent = _write_bytes((int) new_fd, buf, size);
if (data_sent != size) {
error("wiki: unable to write data message (%lu of %lu) %m",
data_sent, size);
(long unsigned) data_sent, (long unsigned) size);
}
return data_sent;
......
......@@ -604,7 +604,7 @@ static size_t _send_msg(slurm_fd_t new_fd, char *buf, size_t size)
data_sent = _write_bytes((int) new_fd, buf, size);
if (data_sent != size) {
error("wiki: unable to write data message (%lu of %lu) %m",
data_sent, size);
(long unsigned) data_sent, (long unsigned) size);
}
return data_sent;
......
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