mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-11-09 08:37:58 +08:00
testsuites/validation/tx-call-within-isr.c: Fix comparision warning.
GCC generated a warning for "comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types]." Added a cast to fix this.
This commit is contained in:
1 parent
3a2b37826f
commit
abc34bc5a8
1 file changed
+1
-1
@@ -153,7 +153,7 @@ static void CallWithinISRIsHandlerInstalled(
|
||||
(void) option;
|
||||
(void) handler_arg;
|
||||
|
||||
if ( handler == CallWithinISRHandler && handler_arg == NULL ) {
|
||||
if ( handler == (void *)CallWithinISRHandler && handler_arg == NULL ) {
|
||||
*(bool *) arg = true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user