Source-Changes-HG archive

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

[src/trunk]: src/gnu/dist/toolchain/gas/config Add cast to last change to ens...



details:   https://anonhg.NetBSD.org/src/rev/113a7507db3e
branches:  trunk
changeset: 503204:113a7507db3e
user:      tv <tv%NetBSD.org@localhost>
date:      Fri Feb 02 19:00:18 2001 +0000

description:
Add cast to last change to ensure value fits in destination ((char) added).

diffstat:

 gnu/dist/toolchain/gas/config/tc-m68k.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 3f233561b831 -r 113a7507db3e gnu/dist/toolchain/gas/config/tc-m68k.c
--- a/gnu/dist/toolchain/gas/config/tc-m68k.c   Fri Feb 02 18:57:04 2001 +0000
+++ b/gnu/dist/toolchain/gas/config/tc-m68k.c   Fri Feb 02 19:00:18 2001 +0000
@@ -3799,7 +3799,7 @@
     }
 
   for (i = 0; i < (int) sizeof (mklower_table); i++)
-    mklower_table[i] = (isupper (i)) ? tolower (i) : i;
+    mklower_table[i] = (char)((isupper (i)) ? tolower (i) : i);
 
   for (i = 0; i < (int) sizeof (notend_table); i++)
     {



Home | Main Index | Thread Index | Old Index