]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Fix missing int argument warning
authorJan-Benedict Glaw <jbglaw@lug-owl.de>
Fri, 7 Mar 2025 09:32:39 +0000 (10:32 +0100)
committerJan-Benedict Glaw <jbglaw@lug-owl.de>
Fri, 7 Mar 2025 09:32:39 +0000 (10:32 +0100)
This warning (per -Werror) breaks the build using a recent GCC
with recent userland.

Approved-By: Tom Tromey <tom@tromey.com>
sim/sh/interp.c

index 379b44f82ba7a2cfd21039ac01534e2ff5bbb4ea..c8c2a7429ce65d0e37ab3a852698436082c2a1ea 100644 (file)
@@ -1712,7 +1712,7 @@ sim_resume (SIM_DESC sd, int step, int siggnal)
   register int endianw = global_endianw;
 
   int tick_start = get_now ();
-  void (*prev_fpe) ();
+  void (*prev_fpe) (int);
 
   register unsigned short *jump_table = sh_jump_table;