summaryrefslogtreecommitdiff
path: root/gcc/real.c
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1994-05-12 22:50:45 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1994-05-12 22:50:45 +0000
commit818e59c2a0ae12d449f4845fde77746ef011cfac (patch)
tree94e8f248e4389ead31091f404c338d5f9d8de48e /gcc/real.c
parente033beccf9f02538abaef97780955819e379e807 (diff)
downloadgcc-818e59c2a0ae12d449f4845fde77746ef011cfac.tar.gz
(m16m): Change first arg to int; all callers changed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7285 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/real.c')
-rw-r--r--gcc/real.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/real.c b/gcc/real.c
index fb06d181b00..067b167cd84 100644
--- a/gcc/real.c
+++ b/gcc/real.c
@@ -352,7 +352,7 @@ static void eshup6 PROTO((unsigned EMUSHORT *));
static void eshdn6 PROTO((unsigned EMUSHORT *));
static void eaddm PROTO((unsigned EMUSHORT *, unsigned EMUSHORT *));
static void esubm PROTO((unsigned EMUSHORT *, unsigned EMUSHORT *));
-static void m16m PROTO((unsigned short, unsigned short *,
+static void m16m PROTO((unsigned int, unsigned short *,
unsigned short *));
static int edivm PROTO((unsigned short *, unsigned short *));
static int emulm PROTO((unsigned short *, unsigned short *));
@@ -2066,7 +2066,7 @@ emulm (a, b)
static void
m16m (a, b, c)
- unsigned short a;
+ unsigned int a;
unsigned short b[], c[];
{
register unsigned short *pp;
@@ -2139,7 +2139,7 @@ edivm (den, num)
else
tquot = tnum / tdenm;
/* Multiply denominator by trial quotient digit. */
- m16m (tquot, den, tprod);
+ m16m ((unsigned int)tquot, den, tprod);
/* The quotient digit may have been overestimated. */
if (ecmpm (tprod, num) > 0)
{
@@ -2199,7 +2199,7 @@ emulm (a, b)
}
else
{
- m16m (*p--, b, pprod);
+ m16m ((unsigned int) *p--, b, pprod);
eaddm(pprod, equot);
}
j |= *q;