Avoid "format not a string literal" warnings
[deliverable/binutils-gdb.git] / gdb / sparcobsd-tdep.c
index 0796f99c2a8b9a86b0fb18a67f5268cb512e6430..6a40eb99f8e09c7e613dffc386a3d3953d7f9959 100644 (file)
@@ -1,6 +1,6 @@
 /* Target-dependent code for OpenBSD/sparc.
 
-   Copyright (C) 2004-2015 Free Software Foundation, Inc.
+   Copyright (C) 2004-2016 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -74,7 +74,7 @@ sparc32obsd_sigtramp_frame_cache (struct frame_info *this_frame,
   CORE_ADDR addr;
 
   if (*this_cache)
-    return *this_cache;
+    return (struct sparc_frame_cache *) *this_cache;
 
   cache = sparc_frame_cache (this_frame, this_cache);
   gdb_assert (cache == *this_cache);
This page took 0.024207 seconds and 4 git commands to generate.