]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/sh64-tdep.c
Add some more casts (2/2)
[thirdparty/binutils-gdb.git] / gdb / sh64-tdep.c
index cb18a35850e45d5c51b37d48f0e1b0c18711093b..f76c8453dbfcfaf8d7b605f22d6caac70c8638ab 100644 (file)
@@ -2210,7 +2210,7 @@ sh64_frame_cache (struct frame_info *this_frame, void **this_cache)
   int i;
 
   if (*this_cache)
-    return *this_cache;
+    return (struct sh64_frame_cache *) *this_cache;
 
   gdbarch = get_frame_arch (this_frame);
   cache = sh64_alloc_frame_cache ();