1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-20 11:33:09 -08:00

* keyboard.c (handle_user_signal): Fix pointer signedness problem.

This commit is contained in:
Paul Eggert 2011-04-26 11:02:10 -07:00
parent b5f869a7d8
commit 69e9b5a37c
2 changed files with 7 additions and 5 deletions

View file

@ -1,5 +1,7 @@
2011-04-26 Paul Eggert <eggert@cs.ucla.edu>
* keyboard.c (handle_user_signal): Fix pointer signedness problem.
* gnutls.c (emacs_gnutls_handle_error): Remove unused local.
(Fgnutls_boot): gnutls_certificate_verify_peers2 wants unsigned *.
Remove unused local.

View file

@ -7228,13 +7228,13 @@ handle_user_signal (int sig)
{
int old_errno = errno;
struct user_signal_info *p;
const char* special_event_name = NULL;
const char *special_event_name = NULL;
SIGNAL_THREAD_CHECK (sig);
if (SYMBOLP (Vdebug_on_event))
special_event_name = SDATA (SYMBOL_NAME (Vdebug_on_event));
special_event_name = SSDATA (SYMBOL_NAME (Vdebug_on_event));
for (p = user_signals; p; p = p->next)
if (p->sig == sig)
{
@ -7250,7 +7250,7 @@ handle_user_signal (int sig)
/* Eat the event. */
break;
}
p->npending++;
#ifdef SIGIO
if (interrupt_input)