Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@penguin.transmeta.com>2002-03-07 00:36:32 -0800
committerLinus Torvalds <torvalds@penguin.transmeta.com>2002-03-07 00:36:32 -0800
commit821c37ce29d016c23f06771b9ffb60f45fc7eade (patch)
treef7c66f4a182985f37eb58ab66fad072325d4de34
parentc639246f91b07cea5c93ff77c12826597fe8dbab (diff)
Fix type mismatch in min()
-rw-r--r--drivers/ide/ide.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide.c b/drivers/ide/ide.c
index 8331fa4d7b1e..116e51e5ce5f 100644
--- a/drivers/ide/ide.c
+++ b/drivers/ide/ide.c
@@ -1435,7 +1435,7 @@ repeat:
&& 0 < (signed long)(WAKEUP(drive) - (jiffies - best->service_time))
&& 0 < (signed long)((jiffies + t) - WAKEUP(drive)))
{
- ide_stall_queue(best, min(t, 10 * WAIT_MIN_SLEEP));
+ ide_stall_queue(best, min(t, 10L * WAIT_MIN_SLEEP));
goto repeat;
}
} while ((drive = drive->next) != best);