X-Git-Url: http://git.subgeniuskitty.com/pforth/.git/blobdiff_plain/e0489cd1a53be4d921447ccc0fbcfdc436fc0b0a..271cd1f5a106bb0978b451457161b1df391c4c9e:/csrc/pf_inner.c diff --git a/csrc/pf_inner.c b/csrc/pf_inner.c index a157705..c9b9f46 100644 --- a/csrc/pf_inner.c +++ b/csrc/pf_inner.c @@ -744,8 +744,8 @@ DBUGX(("After Branch: IP = 0x%x\n", InsPtr )); /* Calculate product sign: */ sg = ((cell_t)(ahi ^ bhi) < 0); /* Take absolute values and reduce to um* */ - if ((cell_t)ahi < 0) ahi = (ucell_t)(-ahi); - if ((cell_t)bhi < 0) bhi = (ucell_t)(-bhi); + if ((cell_t)ahi < 0) ahi = (ucell_t)(-(cell_t)ahi); + if ((cell_t)bhi < 0) bhi = (ucell_t)(-(cell_t)bhi); /* Break into hi and lo 16 bit parts. */ alo = LOWER_HALF(ahi);