diff options
author | markm <markm@FreeBSD.org> | 2001-12-02 13:48:40 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 2001-12-02 13:48:40 +0000 |
commit | 11e67a93424d6a1809a70fc2ef1afa71e49ea0cd (patch) | |
tree | 620c2f4d8cb09dac390014511238b22c1e62b4ac /usr.bin/doscmd/int13.c | |
parent | aeb55e91a2e891a1c2315cee7210f70caa798355 (diff) | |
download | FreeBSD-src-11e67a93424d6a1809a70fc2ef1afa71e49ea0cd.zip FreeBSD-src-11e67a93424d6a1809a70fc2ef1afa71e49ea0cd.tar.gz |
WARNS=2 fixup
Diffstat (limited to 'usr.bin/doscmd/int13.c')
-rw-r--r-- | usr.bin/doscmd/int13.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/doscmd/int13.c b/usr.bin/doscmd/int13.c index e10bf51..039a641 100644 --- a/usr.bin/doscmd/int13.c +++ b/usr.bin/doscmd/int13.c @@ -244,7 +244,7 @@ init_hdisk(int drive, int cyl, int head, int tracksize, char *file, char *fake_p for (fd = 0; fd < 4; ++fd) { if (*(u_short *)(di->sector0 + 0x1FE) == 0xAA55 && - ptab[fd].numSectors == head * tracksize * cyl && + ptab[fd].numSectors == (u_long)(head * tracksize * cyl) && (ptab[fd].systemID == 1 || ptab[fd].systemID == 4 || ptab[fd].systemID == 6)) break; |