]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/sparcobsd-tdep.c
Add some more casts (2/2)
[thirdparty/binutils-gdb.git] / gdb / sparcobsd-tdep.c
index 0796f99c2a8b9a86b0fb18a67f5268cb512e6430..792da7b9f637acd033c362e15c1cce6a1b01569b 100644 (file)
@@ -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);