The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

ipc: Use correct cast

+2 -2
+1 -1
src/xrt/ipc/server/ipc_server_per_client_thread.c
··· 111 111 } 112 112 113 113 // Check the first 4 bytes of the message and dispatch. 114 - ipc_command_t *ipc_command = (uint32_t *)buf; 114 + ipc_command_t *ipc_command = (ipc_command_t *)buf; 115 115 xrt_result_t result = ipc_dispatch(ics, ipc_command); 116 116 if (result != XRT_SUCCESS) { 117 117 IPC_ERROR(ics->server, "During packet handling, disconnecting client.");
+1 -1
src/xrt/ipc/server/ipc_server_process.c
··· 515 515 u_var_add_root(s, "IPC Server", false); 516 516 u_var_add_log_level(s, &s->log_level, "Log level"); 517 517 u_var_add_bool(s, &s->exit_on_disconnect, "exit_on_disconnect"); 518 - u_var_add_bool(s, (void *)&s->running, "running"); 518 + u_var_add_bool(s, (bool *)&s->running, "running"); 519 519 520 520 return 0; 521 521 }