From 139d0219f77e088689b87e809b0fc61ecba33087 Mon Sep 17 00:00:00 2001 From: Jim Garlick Date: Tue, 10 Dec 2024 15:07:13 -0800 Subject: [PATCH] qmanager: track API changes in core Problem: the raw RPC interfaces are changing to use a size_t instead of int for payload size. Update scheduler usage. flux-framework/flux-core#6467 must be merged before this will pass CI. --- qmanager/modules/qmanager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qmanager/modules/qmanager.cpp b/qmanager/modules/qmanager.cpp index 64f1115b3..54ee5454a 100644 --- a/qmanager/modules/qmanager.cpp +++ b/qmanager/modules/qmanager.cpp @@ -280,7 +280,7 @@ static int handshake_jobmanager (std::shared_ptr &ctx) static void status_request_cb (flux_t *h, flux_msg_handler_t *w, const flux_msg_t *msg, void *arg) { - int len = 0; + size_t len = 0; const char *payload; flux_future_t *f = NULL; @@ -310,7 +310,7 @@ static void feasibility_request_cb (flux_t *h, const flux_msg_t *msg, void *arg) { - int size = 0; + size_t size = 0; flux_future_t *f = nullptr; const char *data = nullptr;