summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gpib.c4
-rw-r--r--instr-daemon.c2
2 files changed, 3 insertions, 3 deletions
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));
}
diff --git a/instr-daemon.c b/instr-daemon.c
index 0065ca3..0b6bcc7 100644
--- a/instr-daemon.c
+++ b/instr-daemon.c
@@ -329,7 +329,7 @@ static gboolean periodic_poll (void)
GPIB_check_for_device_clear_signal();
if (GPIB_check_for_messages(globals.Registers.gpib_buffer)) {
if (GPIB_handle_new_input(globals.Registers.gpib_buffer)) {
- // check_for_ctrl_mode_changes(); /* update rem/loc settings */
+ // FIXME check_for_ctrl_mode_changes(); /* update rem/loc settings */
Parser_main(globals.Registers.gpib_buffer, 0, NULL, NULL);
}
}