about summary refs log tree commit diff
path: root/sysdeps/generic/signame.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/signame.c')
-rw-r--r--sysdeps/generic/signame.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/generic/signame.c b/sysdeps/generic/signame.c
index 40e72e0e4c..34a6f30874 100644
--- a/sysdeps/generic/signame.c
+++ b/sysdeps/generic/signame.c
@@ -284,7 +284,7 @@ strsignal (signal)
   static char buf[] = "Signal 12345678901234567890";
  
   if (signal > 0 || signal < NSIG)
-    return sys_siglist[signal];
+    return (char *) sys_siglist[signal];
  
   sprintf (buf, "Signal %d", signal);
   return buf;