]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
gcc-3.1 compile fix.
authorJulian Seward <jseward@acm.org>
Tue, 21 May 2002 00:05:10 +0000 (00:05 +0000)
committerJulian Seward <jseward@acm.org>
Tue, 21 May 2002 00:05:10 +0000 (00:05 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@299

coregrind/vg_signals.c
vg_signals.c

index ca4b58d5988d21befdb8bf6be135d7a4b9f7b782..677b272a53a84f7f714ea9b99ea74de8efe5d148 100644 (file)
@@ -641,13 +641,13 @@ void VG_(send_signal_to_thread) ( ThreadId thread, Int sig )
    
    switch ((UInt)(vg_scss.scss_per_sig[sig].scss_handler)) {
 
-      case VKI_SIG_IGN:
+      case ((UInt)VKI_SIG_IGN):
          if (VG_(clo_trace_signals)) 
             VG_(message)(Vg_DebugMsg, 
                "send_signal %d to_thread %d: IGN, ignored", sig, thread );
          break;
 
-      case VKI_SIG_DFL:
+      case ((UInt)VKI_SIG_DFL):
          /* This is the tricky case.  Since we don't handle default
             actions, the simple thing is to send someone round to the
             front door and signal there.  Then the kernel will do
index ca4b58d5988d21befdb8bf6be135d7a4b9f7b782..677b272a53a84f7f714ea9b99ea74de8efe5d148 100644 (file)
@@ -641,13 +641,13 @@ void VG_(send_signal_to_thread) ( ThreadId thread, Int sig )
    
    switch ((UInt)(vg_scss.scss_per_sig[sig].scss_handler)) {
 
-      case VKI_SIG_IGN:
+      case ((UInt)VKI_SIG_IGN):
          if (VG_(clo_trace_signals)) 
             VG_(message)(Vg_DebugMsg, 
                "send_signal %d to_thread %d: IGN, ignored", sig, thread );
          break;
 
-      case VKI_SIG_DFL:
+      case ((UInt)VKI_SIG_DFL):
          /* This is the tricky case.  Since we don't handle default
             actions, the simple thing is to send someone round to the
             front door and signal there.  Then the kernel will do