Fixes a compile time warnng about left shifting a negative value.
[deliverable/binutils-gdb.git] / opcodes / h8300-dis.c
index 0d260de68e0cb5772b5695d12e6db1aa63a79948..37bfb1d82702d4423539e34f394325786d883049 100644 (file)
@@ -1,6 +1,5 @@
 /* Disassemble h8300 instructions.
-   Copyright 1993, 1994, 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
-   2007, 2010  Free Software Foundation, Inc.
+   Copyright (C) 1993-2015 Free Software Foundation, Inc.
 
    This file is part of the GNU opcodes library.
 
@@ -298,7 +297,7 @@ print_one_arg (disassemble_info *info,
     outfn (stream, "@(0x%x:%d,%s.l)", cst, cstlen, lregnames[rdisp_n]);
 
   else if (x & CTRL)
-    outfn (stream, cregnames[rn]);
+    outfn (stream, "%s", cregnames[rn]);
 
   else if ((x & MODE) == CCR)
     outfn (stream, "ccr");
This page took 0.023117 seconds and 4 git commands to generate.