From 83c4e001247925cd70ce2a39c16ca193faaac8f7 Mon Sep 17 00:00:00 2001 From: Moe Jette <jette1@llnl.gov> Date: Tue, 28 Sep 2010 19:34:26 +0000 Subject: [PATCH] fix typedef to match print arguments and avoid a warning --- src/plugins/sched/wiki/msg.c | 2 +- src/plugins/sched/wiki2/msg.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/sched/wiki/msg.c b/src/plugins/sched/wiki/msg.c index 5252470c453..5e8a7138d05 100644 --- a/src/plugins/sched/wiki/msg.c +++ b/src/plugins/sched/wiki/msg.c @@ -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; diff --git a/src/plugins/sched/wiki2/msg.c b/src/plugins/sched/wiki2/msg.c index c99ec831067..086e1c00c53 100644 --- a/src/plugins/sched/wiki2/msg.c +++ b/src/plugins/sched/wiki2/msg.c @@ -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; -- GitLab