forked from Imagelibrary/rtems
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:
committed by
Kinsey Moore
parent
3a2b37826f
commit
abc34bc5a8
@@ -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