Thread: [Linux1394-cvslog] rev 599 - trunk
Brought to you by:
aeb,
bencollins
From: SVN U. <ben...@li...> - 2002-10-12 20:04:32
|
Author: bencollins Date: 2002-10-12 16:04:25 -0400 (Sat, 12 Oct 2002) New Revision: 599 Modified: trunk/sbp2.c Log: Merge change from 2.5.42. Cast disk->capacity to int Modified: trunk/sbp2.c ============================================================================== --- trunk/sbp2.c (original) +++ trunk/sbp2.c 2002-10-12 16:04:26.000000000 -0400 @@ -3161,12 +3161,12 @@ heads = 64; sectors = 32; - cylinders = disk->capacity / (heads * sectors); + cylinders = (int)disk->capacity / (heads * sectors); if (cylinders > 1024) { heads = 255; sectors = 63; - cylinders = disk->capacity / (heads * sectors); + cylinders = (int)disk->capacity / (heads * sectors); } geom[0] = heads; |