commit | 7a8cc0983ae3b954cba68dc874b0b0e738347e79 | [log] [tgz] |
---|---|---|
author | Tom Tromey <tom@tromey.com> | Mon Dec 16 09:12:48 2024 -0700 |
committer | Tom Tromey <tom@tromey.com> | Mon Dec 16 13:16:04 2024 -0700 |
tree | ed8f64faecb0afa2e7d5860a4e13da9694a705f0 | |
parent | 975cb893f45de2a927e226883e7a76ee5e333baa [diff] |
Use correct type for saved signal handler A user noticed that the sim assigns the result of a call to 'signal' to a variable like: RETSIGTYPE (*prev_sigint) (); However, it's more correct to use (int) here. This patch fixes the error. Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=32466 Approved-By: Andrew Burgess <aburgess@redhat.com>