summaryrefslogtreecommitdiff
path: root/core/host/timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/host/timer.c')
-rw-r--r--core/host/timer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/host/timer.c b/core/host/timer.c
index b2c9c5c478..03c1f70018 100644
--- a/core/host/timer.c
+++ b/core/host/timer.c
@@ -17,7 +17,7 @@
static timestamp_t boot_time;
static int time_set;
-void usleep(unsigned us)
+void usleep(unsigned int us)
{
if (!task_start_called() || task_get_current() == TASK_ID_INVALID) {
udelay(us);
@@ -63,7 +63,7 @@ void force_time(timestamp_t ts)
time_set = 1;
}
-void udelay(unsigned us)
+void udelay(unsigned int us)
{
timestamp_t deadline;