Duane Ellis: fix warnings

git-svn-id: svn://svn.berlios.de/openocd/trunk@890 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
oharboe
2008-08-05 12:27:18 +00:00
parent 20f505f695
commit f370d70670
28 changed files with 66 additions and 52 deletions

View File

@@ -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 */