Use 0x10000UL (avoids Turbo C warning)

git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@667 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
Bart Oldeman 2003-08-31 10:22:32 +00:00
parent 648f60b05d
commit bef6672954

View File

@ -2009,7 +2009,7 @@ VOID bpb_to_dpb(bpb FAR * bpbp, REG struct dpb FAR * dpbp)
/* many clusters. Otherwise back the number of clusters down (LG & AB) */
unsigned fatsiz;
ULONG tmp = dpbp->dpb_fatsize * (ULONG)(dpbp->dpb_secsize / 2);/* entries/2 */
if (tmp >= 0x10000)
if (tmp >= 0x10000UL)
goto ckok;
fatsiz = (unsigned) tmp;
if (dpbp->dpb_size > FAT_MAGIC) {/* FAT16 */