Compiler warnings fixed

This commit is contained in:
Jeff Hill committed 1995-03-06 22:44:57 +00:00
1 parent cee91cb578
commit cb86cd03a7
2 files changed
+8 -6

No files matched your search

+4 -3
View File
@@ -9,6 +9,7 @@
*
* .01 010393 Applied fix for zero C ISR param causes incorrect
* identification as MACRO ISR problem.
* .02 022195 Compiler warnings fixed
*/
/*
@@ -156,17 +157,17 @@ int cISRTest(FUNCPTR proutine, FUNCPTR *ppisr, void **pparam)
pchk++, pref++){
status = vxMemProbe(
pchk,
(char *) pchk,
READ,
sizeof(val),
&val);
(char *) &val);
if(status < 0){
return ERROR;
}
if(val != *pref){
if(*pref == (unsigned char) ISR_PATTERN){
*ppisr = fetch_pointer(pchk);
*ppisr = (FUNCPTR) fetch_pointer(pchk);
pref += sizeof(*ppisr)-1;
pchk += sizeof(*ppisr)-1;
found_isr = TRUE;
+4 -3
View File
@@ -9,6 +9,7 @@
*
* .01 010393 Applied fix for zero C ISR param causes incorrect
* identification as MACRO ISR problem.
* .02 022195 Compiler warnings fixed
*/
/*
@@ -156,17 +157,17 @@ int cISRTest(FUNCPTR proutine, FUNCPTR *ppisr, void **pparam)
pchk++, pref++){
status = vxMemProbe(
pchk,
(char *) pchk,
READ,
sizeof(val),
&val);
(char *) &val);
if(status < 0){
return ERROR;
}
if(val != *pref){
if(*pref == (unsigned char) ISR_PATTERN){
*ppisr = fetch_pointer(pchk);
*ppisr = (FUNCPTR) fetch_pointer(pchk);
pref += sizeof(*ppisr)-1;
pchk += sizeof(*ppisr)-1;
found_isr = TRUE;