]> git.hungrycats.org Git - linux/commitdiff
Fix type mismatch in min()
authorLinus Torvalds <torvalds@penguin.transmeta.com>
Thu, 7 Mar 2002 08:36:32 +0000 (00:36 -0800)
committerLinus Torvalds <torvalds@penguin.transmeta.com>
Thu, 7 Mar 2002 08:36:32 +0000 (00:36 -0800)
drivers/ide/ide.c

index 8331fa4d7b1e9926e004c4cc37727216b576e664..116e51e5ce5fcbf89b9473a8186bff0ae81a5e6c 100644 (file)
@@ -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);