mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-30 02:31:44 +00:00
Replaced C-style casts found by GCC in HAL, wpilibc, and JNI (#211)
This commit is contained in:
committed by
Peter Johnson
parent
2ec6132fcb
commit
93b486b6ba
@@ -51,8 +51,8 @@ std::thread::native_handle_type Task::native_handle() {
|
||||
* @return true on success.
|
||||
*/
|
||||
bool Task::Verify() {
|
||||
TASK id = (TASK)m_thread.native_handle();
|
||||
return HAL_VerifyTaskID(id) == OK;
|
||||
auto id = m_thread.native_handle();
|
||||
return HAL_VerifyTaskID(&id) == OK;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user