File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ rcutils_ret_t configure_native_realtime_thread(
7676 int policy ;
7777 success &= (pthread_getschedparam (native_handle , & policy , & params ) == 0 );
7878 success &= (calculate_os_thread_priority (priority , & params .sched_priority ) ==
79- RCUTILS_RET_OK ? 1 : 0 );
79+ RCUTILS_RET_OK ? 1 : 0 );
8080 success &= (pthread_setschedparam (native_handle , SCHED_FIFO , & params ) == 0 );
8181
8282#ifdef __QNXNTO__
@@ -87,7 +87,7 @@ rcutils_ret_t configure_native_realtime_thread(
8787 // Function used to change thread affinity of thread associated with native_handle
8888 if (ThreadCtlExt (
8989 0 , native_handle , _NTO_TCTL_RUNMASK ,
90- reinterpret_cast < void * > ( run_mask ) ) == -1 )
90+ ( void * ) run_mask ) == -1 )
9191 {
9292 success &= 0 ;
9393 } else {
@@ -111,4 +111,3 @@ rcutils_ret_t configure_native_realtime_thread(
111111#ifdef __cplusplus
112112}
113113#endif
114-
You can’t perform that action at this time.
0 commit comments