--- np2/win9x/dialog/d_mpu98.cpp 2005/03/20 13:12:50 1.9 +++ np2/win9x/dialog/d_mpu98.cpp 2007/01/08 08:52:22 1.10 @@ -38,7 +38,7 @@ static UINT8 getmpuio(HWND hWnd, UINT16 TCHAR work[8]; GetDlgItemText(hWnd, res, work, NELEMENTS(work)); - return((miltchar_solveHEX(work) >> 6) & 0xf0); + return((UINT8)((miltchar_solveHEX(work) >> 6) & 0xf0)); } static void setmpuintpara(HWND hWnd, UINT16 res, UINT8 value) {