From 3909ac8024931a6714f072ff4be6ded5c0ff6e71 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Mon, 7 Apr 2003 19:16:52 -0700 Subject: Make it more explicit that jiffies are "unsigned long", but that we for the initial value ctually want to check only wrap-around in an "unsigned int". --- include/linux/time.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/linux') diff --git a/include/linux/time.h b/include/linux/time.h index 7f5be084e342..4d7238025fe9 100644 --- a/include/linux/time.h +++ b/include/linux/time.h @@ -31,7 +31,7 @@ struct timezone { * Have the 32 bit jiffies value wrap 5 minutes after boot * so jiffies wrap bugs show up earlier. */ -#define INITIAL_JIFFIES ((unsigned int) (-300*HZ)) +#define INITIAL_JIFFIES ((unsigned long)(unsigned int) (-300*HZ)) /* * Change timeval to jiffies, trying to avoid the -- cgit v1.2.3