X-Git-Url: http://git.subgeniuskitty.com/pforth/.git/blobdiff_plain/aef8ce6f8bbe0f0a5a7273d874d62f775cff5b58..652797413b32546b9f9d5ada1df0c3aa12b3de7b:/csrc/pf_inner.c diff --git a/csrc/pf_inner.c b/csrc/pf_inner.c index 2e5aac6..295ee55 100644 --- a/csrc/pf_inner.c +++ b/csrc/pf_inner.c @@ -750,8 +750,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);