From cc1057fce1a8f08926a49dbb69be252fcf7a63ce Mon Sep 17 00:00:00 2001 From: Jim Garlick Date: Tue, 10 Dec 2024 15:13:08 -0800 Subject: [PATCH] track raw payload accessor API changes in core Problem: the raw message payload interfaces are changing to use a size_t instead of int. Update usage in interthread. flux-framework/flux-core#6467 must be merged before this will pass CI. --- src/shell/plugins/interthread.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/shell/plugins/interthread.c b/src/shell/plugins/interthread.c index 50c011f..4ed14ae 100644 --- a/src/shell/plugins/interthread.c +++ b/src/shell/plugins/interthread.c @@ -120,10 +120,13 @@ static void interthread_recv (flux_reactor_t *r, } if (it->trace_flag) { const char *payload; - int size; + size_t size; if (flux_msg_get_payload (msg, (const void **)&payload, &size) == 0 && size > 0) - shell_trace ("pmix server %s %.*s", topic, size - 1, payload); + shell_trace ("pmix server %s %.*s", + topic, + (int)size - 1, + payload); } for (i = 0; i < it->handler_count; i++) { if (!strcmp (topic, it->handlers[i].topic))