mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-01 12:46:12 +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];
|
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) {
|
if (size == -1) {
|
||||||
IPC_ERROR(ipc_c, "Could not get socket file name");
|
IPC_ERROR(ipc_c, "Could not get socket file name");
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue