From bef6672954136d98439ec24be60f6ffce6417777 Mon Sep 17 00:00:00 2001 From: Bart Oldeman Date: Sun, 31 Aug 2003 10:22:32 +0000 Subject: [PATCH] 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 --- kernel/fatfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/fatfs.c b/kernel/fatfs.c index 6456c5b..a72d0db 100644 --- a/kernel/fatfs.c +++ b/kernel/fatfs.c @@ -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 */