aboutsummaryrefslogtreecommitdiffstats
path: root/include/sys/timer.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sys/timer.h')
-rw-r--r--include/sys/timer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sys/timer.h b/include/sys/timer.h
index 237195d76..7e8c6fd41 100644
--- a/include/sys/timer.h
+++ b/include/sys/timer.h
@@ -12,7 +12,7 @@ extern "C" {
#define lbolt ((clock_t)jiffies)
#define lbolt64 ((int64_t)get_jiffies_64())
-#define delay(ticks) schedule_timeout((long timeout)(ticks))
+#define delay(ticks) schedule_timeout((long)(ticks))
#ifdef __cplusplus
}