ipc/client: Warning fix

This commit is contained in:
Ryan Pavlik 2023-06-16 16:59:07 -05:00 committed by Jakob Bornecrantz
parent 12eaebfa6a
commit 684a3f22e4

View file

@ -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;