--- np2/i286c/Attic/egcmem.c 2004/02/18 02:03:36 1.9 +++ np2/i286c/Attic/egcmem.c 2004/02/18 03:56:57 1.10 @@ -939,7 +939,7 @@ static const EGCQUAD * MEMCALL egc_opeb( EGCOPE_SHIFTB; egc.mask2.w &= egc.srcmask.w; tmp = egc.ope & 0xff; - return((*opefn[tmp])(tmp, ad & (~1))); + return((*opefn[tmp])((REG8)tmp, ad & (~1))); case 0x1000: switch(egc.fgbg & 0x6000) { @@ -977,7 +977,7 @@ static const EGCQUAD * MEMCALL egc_opew( EGCOPE_SHIFTW; egc.mask2.w &= egc.srcmask.w; tmp = egc.ope & 0xff; - return((*opefn[tmp])(tmp, ad)); + return((*opefn[tmp])((REG8)tmp, ad)); case 0x1000: switch(egc.fgbg & 0x6000) {