mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-29 11:06:18 +00:00
ipc/client: Warning fix
This commit is contained in:
parent
12eaebfa6a
commit
684a3f22e4
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue