summaryrefslogtreecommitdiff
path: root/src/jtag/gw16012.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/jtag/gw16012.c')
-rw-r--r--src/jtag/gw16012.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jtag/gw16012.c b/src/jtag/gw16012.c
index 8c7dc81b..b964a23a 100644
--- a/src/jtag/gw16012.c
+++ b/src/jtag/gw16012.c
@@ -194,7 +194,7 @@ int gw16012_speed(int speed)
return ERROR_OK;
}
-void gw16012_end_state(state)
+void gw16012_end_state(int state)
{
if (tap_move_map[state] != -1)
end_state = state;
@@ -526,7 +526,7 @@ int gw16012_init(void)
LOG_WARNING("No gw16012 port specified, using default '0x378' (LPT1)");
}
- LOG_DEBUG("requesting privileges for parallel port 0x%lx...", gw16012_port);
+ LOG_DEBUG("requesting privileges for parallel port 0x%lx...", (long unsigned)(gw16012_port) );
#if PARPORT_USE_GIVEIO == 1
if (gw16012_get_giveio_access() != 0)
#else /* PARPORT_USE_GIVEIO */