Hi!
31-Янв-2004 07:04 [EMAIL PROTECTED]:
> +++ fattab.c 31 Jan 2004 15:04:09 -0000 1.20
> #ifdef WITHFAT32
> - put_unsigned(clussec >> 16, 16, 4);
> + put_unsigned((unsigned)(clussec >> 16), 16, 4);
> #endif
> - put_unsigned(clussec & 0xffffu, 16, 4);
> + put_unsigned((unsigned)(clussec & 0xffffu), 16, 4);
#ifdef WITHFAT32
put_unsigned (hiword (clussec), 16, 4);
#endif
put_unsigned (loword (clussec), 16, 4);
> +++ initdisk.c 31 Jan 2004 15:04:09 -0000 1.23
> + if (NumSectors <= 532480UL) /* disks up to 260 MB, 0.5K cluster */
if (NumSectors <= 2u*260u*1024ul) /* disks up to 260 MB, 0.5K cluster */
PS: Some accuse me that I make unreadable code. :( I think, my code is often
better (also) in sense of readability.
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Freedos-kernel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-kernel