diff options
author | Tom Tromey <tom@tromey.com> | 2024-12-16 09:12:48 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2024-12-16 13:16:04 -0700 |
commit | 7a8cc0983ae3b954cba68dc874b0b0e738347e79 (patch) | |
tree | ed8f64faecb0afa2e7d5860a4e13da9694a705f0 /gdb/python/python.h | |
parent | 975cb893f45de2a927e226883e7a76ee5e333baa (diff) | |
download | binutils-7a8cc0983ae3b954cba68dc874b0b0e738347e79.zip binutils-7a8cc0983ae3b954cba68dc874b0b0e738347e79.tar.gz binutils-7a8cc0983ae3b954cba68dc874b0b0e738347e79.tar.bz2 |
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>
Diffstat (limited to 'gdb/python/python.h')
0 files changed, 0 insertions, 0 deletions