From 2a3fc15e9e22bb621035e0518446458fc81e20b1 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Tue, 9 Apr 1996 15:32:50 +0000 Subject: [PATCH] fixed problem where epvxiWrite() was only able to xmit positive characters --- src/drv/ansi/drvEpvxiMsg.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/drv/ansi/drvEpvxiMsg.c b/src/drv/ansi/drvEpvxiMsg.c index e505db8d4..b8c70ce09 100644 --- a/src/drv/ansi/drvEpvxiMsg.c +++ b/src/drv/ansi/drvEpvxiMsg.c @@ -620,10 +620,10 @@ EPVXISTAT epvxiReadSlowHandshake( { VXIMDI *pvximdi; struct vxi_csr *pcsr; - short resp; + uint16_t resp; EPVXISTAT status; int function_status; - int i; + unsigned long i; while(!(pvximdi = epvxiPMsgConfig(la))){ status = vxiMsgOpen(la); @@ -730,11 +730,11 @@ unsigned long option { VXIMDI *pvximdi; struct vxi_csr *pcsr; - int i; - short cmd; - short extra; + unsigned long i; + uint16_t cmd; + uint16_t extra; EPVXISTAT status; - char *pstr; + uint8_t *pstr; while(!(pvximdi = epvxiPMsgConfig(la))){ status = vxiMsgOpen(la); @@ -746,14 +746,14 @@ unsigned long option pcsr = VXIBASE(la); FASTLOCK(&pvximdi->lck); - pstr = pbuf; + pstr = (uint8_t *) pbuf; if(option&epvxiWriteOptPartialMsg){ - extra = 0; + extra = 0u; } else{ extra = MBC_END; } - for(i=0; i