From ee05547981d563852b76e4ce63d6e146439ce2db Mon Sep 17 00:00:00 2001 From: Francesco Cozzuto Date: Sun, 16 Nov 2025 16:16:54 +0100 Subject: [PATCH] Fix compilation errors --- src/client.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/client.c b/src/client.c index 10396b9..4e8dd89 100644 --- a/src/client.c +++ b/src/client.c @@ -1733,9 +1733,9 @@ static void process_event_for_write(ToastyFS *toasty, MessageWriter writer; metadata_server_request_start(toasty, &writer, MESSAGE_TYPE_WRITE); - string path = toasty->operations[opidx].path; - uint32_t offset = toasty->operations[opidx].off; - uint32_t length = toasty->operations[opidx].len; + ToastyString path = toasty->operations[opidx].path; + uint32_t offset = toasty->operations[opidx].off; + uint32_t length = toasty->operations[opidx].len; if (path.len > UINT16_MAX) { // TODO @@ -2046,7 +2046,7 @@ int toasty_wait_result(ToastyFS *toasty, ToastyHandle handle, ToastyResult *resu remaining_timeout = timeout - elapsed; } - int ret = POLL(polled, num_polled, remaining_timeout); + ret = POLL(polled, num_polled, remaining_timeout); if (ret < 0) return -1;