Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/m68k/fpe Fix undefined operation (= is not a sequen...



details:   https://anonhg.NetBSD.org/src/rev/d0fb2ae92458
branches:  trunk
changeset: 532032:d0fb2ae92458
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Thu May 30 20:56:26 2002 +0000

description:
Fix undefined operation (= is not a sequence point).

diffstat:

 sys/arch/m68k/fpe/fpu_int.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 4fd06b826925 -r d0fb2ae92458 sys/arch/m68k/fpe/fpu_int.c
--- a/sys/arch/m68k/fpe/fpu_int.c       Thu May 30 20:28:27 2002 +0000
+++ b/sys/arch/m68k/fpe/fpu_int.c       Thu May 30 20:56:26 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fpu_int.c,v 1.4 2001/02/18 20:05:58 chs Exp $  */
+/*     $NetBSD: fpu_int.c,v 1.5 2002/05/30 20:56:26 thorpej Exp $      */
 
 /*
  * Copyright (c) 1995 Ken Nakata
@@ -113,7 +113,8 @@
   for (i = 0; i + wsh < 2; i++) {
     x->fp_mant[i] = (x->fp_mant[i+wsh] << lsh) | (x->fp_mant[i+wsh+1] >> rsh);
   }
-  x->fp_mant[i++] = (x->fp_mant[i+wsh] << lsh);
+  x->fp_mant[i] = (x->fp_mant[i+wsh] << lsh);
+  i++;
   for (; i < 3; i++) {
     x->fp_mant[i] = 0;
   }



Home | Main Index | Thread Index | Old Index