mirror of https://github.com/FDOS/kernel.git
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:
parent
fcaf8682dc
commit
92d7f41719
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue