]> gcc.gnu.org Git - gcc.git/commitdiff
m68k.c (m68k_output_function_epilogue): Fix format specifier warnings.
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Fri, 16 May 2003 18:25:39 +0000 (18:25 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Fri, 16 May 2003 18:25:39 +0000 (18:25 +0000)
* m68k.c (m68k_output_function_epilogue): Fix format specifier
warnings.

From-SVN: r66874

gcc/ChangeLog
gcc/config/m68k/m68k.c

index a626e81c6b36ae8c41e8af00096d9258330aa382..1da64c9c90d841246d86006791f92cd8b50e7d7a 100644 (file)
@@ -1,5 +1,8 @@
 2003-05-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
+       * m68k.c (m68k_output_function_epilogue): Fix format specifier
+       warnings.
+
        * stormy16-protos.h (xs_hi_general_operand,
        xs_hi_nonmemory_operand): Prototype.
        * stormy16.c (xstormy16_output_shift): Fix format specifier
index 5e14b29614a1a2e14886f7d234aa8d75a677ce0d..c85bc81e96a7107bdb31197e1adbacde02eec0ce 100644 (file)
@@ -1042,12 +1042,14 @@ m68k_output_function_epilogue (stream, size)
          else
            {
 #ifdef MOTOROLA
-             fprintf (stream, "\tfpmovd -%d(%s), %s\n",
+             fprintf (stream, "\tfpmovd -"HOST_WIDE_INT_PRINT_DEC
+                      "(%s), %s\n",
                       fpoffset + fsize,
                       reg_names[FRAME_POINTER_REGNUM],
                       reg_names[regno]);
 #else
-             fprintf (stream, "\tfpmoved %s@(-%d), %s\n",
+             fprintf (stream, "\tfpmoved %s@(-"HOST_WIDE_INT_PRINT_DEC
+                      "), %s\n",
                       reg_names[FRAME_POINTER_REGNUM],
                       fpoffset + fsize, reg_names[regno]);
 #endif
This page took 0.079658 seconds and 5 git commands to generate.