summaryrefslogtreecommitdiff
path: root/src/keyboard.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-04-26 11:02:10 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2011-04-26 11:02:10 -0700
commit69e9b5a37cf64ead4e10688063eef705744332bb (patch)
treed88d4fbfed1ac04c06c2c5c8afebc956f7962f5c /src/keyboard.c
parentb5f869a7d838121b17493ad66958309c0d6031e5 (diff)
downloademacs-69e9b5a37cf64ead4e10688063eef705744332bb.tar.gz
* keyboard.c (handle_user_signal): Fix pointer signedness problem.
Diffstat (limited to 'src/keyboard.c')
-rw-r--r--src/keyboard.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index 6236c42e976..fac098ddffd 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -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)