Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
signals are signed ints (we were comparing unsigned ints and signed ones)
[simgrid.git] / tools / tesh / tesh.h
index cd9236d..1fc2d89 100644 (file)
@@ -17,7 +17,7 @@
 /******************************************/
 /* return the name of a signal, aliasing SIGBUS to SIGSEGV since
    segfault leads to any of them depending on the system */
-const char *signal_name(unsigned int got, char *expected);
+const char *signal_name(int got, char *expected);
 
 #include "run_context.h"