From 92d7f417191c2ae20c942d0f45157158dcd942e4 Mon Sep 17 00:00:00 2001 From: Bart Oldeman Date: Mon, 10 May 2004 01:00:40 +0000 Subject: [PATCH] Add necessary cast for BC git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@924 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 98cb798..f59593f 100644 --- a/kernel/main.c +++ b/kernel/main.c @@ -244,7 +244,7 @@ STATIC void setup_int_vectors(void) for (i = 0x23; i <= 0x3f; i++) setvec(i, empty_handler); for (pvec = vectors; pvec < vectors + (sizeof vectors/sizeof *pvec); pvec++) - setvec(pvec->intno, MK_FP(FP_SEG(empty_handler), pvec->handleroff)); + setvec(pvec->intno, (intvec)MK_FP(FP_SEG(empty_handler), pvec->handleroff)); pokeb(0, 0x30 * 4, 0xea); pokel(0, 0x30 * 4 + 1, (ULONG)cpm_entry); }