From 204382d0010000f7e7201b48459a6db362d52866 Mon Sep 17 00:00:00 2001 From: Bart Oldeman Date: Wed, 18 Jun 2003 19:27:40 +0000 Subject: [PATCH] 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 --- kernel/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/main.c b/kernel/main.c index f0c29c3..157d9d8 100644 --- a/kernel/main.c +++ b/kernel/main.c @@ -688,7 +688,7 @@ void CheckContinueBootFromHarddisk(void) 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 */ printf("\n");