Add necessary cast for BC

git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@924 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
Bart Oldeman 2004-05-10 01:00:40 +00:00
parent fcaf8682dc
commit 92d7f41719
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}