From 684a3f22e45e8b1a23402611a936ecbece80ca36 Mon Sep 17 00:00:00 2001 From: Ryan Pavlik Date: Fri, 16 Jun 2023 16:59:07 -0500 Subject: [PATCH] ipc/client: Warning fix --- src/xrt/ipc/client/ipc_client_instance.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xrt/ipc/client/ipc_client_instance.c b/src/xrt/ipc/client/ipc_client_instance.c index b8046410b..ae1809a05 100644 --- a/src/xrt/ipc/client/ipc_client_instance.c +++ b/src/xrt/ipc/client/ipc_client_instance.c @@ -259,7 +259,7 @@ ipc_connect(struct ipc_connection *ipc_c) char sock_file[PATH_MAX]; - int size = u_file_get_path_in_runtime_dir(XRT_IPC_MSG_SOCK_FILENAME, sock_file, PATH_MAX); + ssize_t size = u_file_get_path_in_runtime_dir(XRT_IPC_MSG_SOCK_FILENAME, sock_file, PATH_MAX); if (size == -1) { IPC_ERROR(ipc_c, "Could not get socket file name"); return false;