From e8461ff6d2334170ea6247e4f439120bb1097aeb Mon Sep 17 00:00:00 2001 From: root Date: Fri, 31 Dec 1999 19:02:15 -0500 Subject: minor casting change --- gpib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gpib.c') diff --git a/gpib.c b/gpib.c index 598e25c..dee8b66 100644 --- a/gpib.c +++ b/gpib.c @@ -583,13 +583,13 @@ static unsigned long int TNT_DATA_COUNT() static void TNT_Out(int reg, unsigned int byte) { - bus_writebyte (TNT_Port + reg, (uint8_t) byte); + bus_writebyte ((uint8_t) (TNT_Port + reg), (uint8_t) byte); } static unsigned char TNT_In(int reg) { - return (unsigned char) bus_readbyte (TNT_Port + reg); + return (unsigned char) bus_readbyte ((uint8_t) (TNT_Port + reg)); } -- cgit