]> git.eshelyaron.com Git - emacs.git/commitdiff
* keyboard.c (handle_user_signal): Fix pointer signedness problem.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 26 Apr 2011 18:02:10 +0000 (11:02 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 26 Apr 2011 18:02:10 +0000 (11:02 -0700)
src/ChangeLog
src/keyboard.c

index c6bb161ec8493ec03093e7146312be8a34bf2c3b..5c04f32b1943dd917884873acc472710ea324ed4 100644 (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.
index 6236c42e976514b0d7a785644e356bb7f5f76075..fac098ddffda9e9e45e85cc667b234e7c5b04cbc 100644 (file)
@@ -7228,13 +7228,13 @@ handle_user_signal (int sig)
 {
   int old_errno = errno;
   struct user_signal_info *p;
-  const charspecial_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)