Adjustment to compile with Turbo C

git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@619 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
Bart Oldeman 2003-06-18 19:27:40 +00:00
parent 9647aa92e5
commit 204382d001

View File

@ -688,7 +688,7 @@ void CheckContinueBootFromHarddisk(void)
key = GetBiosKey(InitKernelConfig.BootHarddiskSeconds); key = GetBiosKey(InitKernelConfig.BootHarddiskSeconds);
if (key != (UWORD)-1 && (key & 0xff) != 'h' && (key & 0xff) != 'H' ) if (key != -1 && (key & 0xff) != 'h' && (key & 0xff) != 'H')
{ {
/* user has hit a key, continue to boot from floppy/CD */ /* user has hit a key, continue to boot from floppy/CD */
printf("\n"); printf("\n");