diff options
author | root <root@fedora-arm.domain.avtechpulse.com> | 1999-12-31 19:02:15 -0500 |
---|---|---|
committer | root <root@fedora-arm.domain.avtechpulse.com> | 1999-12-31 19:02:15 -0500 |
commit | e8461ff6d2334170ea6247e4f439120bb1097aeb (patch) | |
tree | 974d545087b700bb53cf552519f84ead03ad656c /gpib.c | |
parent | 2a93a26822476c1c693d1cbe51c79a66b38cab2f (diff) |
minor casting change
Diffstat (limited to 'gpib.c')
-rw-r--r-- | gpib.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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)); } |