From cb86cd03a79fff0c29c9ec467d358614f4866967 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Mon, 6 Mar 1995 22:44:57 +0000 Subject: [PATCH] Compiler warnings fixed --- src/libvxWorks/veclist.c | 7 ++++--- src/vxWorks/libvxWorks/veclist.c | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/libvxWorks/veclist.c b/src/libvxWorks/veclist.c index 4d421477d..6f43093b7 100644 --- a/src/libvxWorks/veclist.c +++ b/src/libvxWorks/veclist.c @@ -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; diff --git a/src/vxWorks/libvxWorks/veclist.c b/src/vxWorks/libvxWorks/veclist.c index 4d421477d..6f43093b7 100644 --- a/src/vxWorks/libvxWorks/veclist.c +++ b/src/vxWorks/libvxWorks/veclist.c @@ -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;