about summary refs log tree commit diff
path: root/sysdeps/generic/signame.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-03-09 10:00:12 +0000
committerRoland McGrath <roland@gnu.org>1995-03-09 10:00:12 +0000
commit6c2f050742cfb5b3ff6ee96b106409f541eb53bc (patch)
treef7296a81b8d5524dddfa0aa1cc24342d8ef9ac24 /sysdeps/generic/signame.c
parent286351153566acc7dcc82834d90e0b8d87dff8be (diff)
downloadglibc-6c2f050742cfb5b3ff6ee96b106409f541eb53bc.tar.gz
glibc-6c2f050742cfb5b3ff6ee96b106409f541eb53bc.tar.xz
glibc-6c2f050742cfb5b3ff6ee96b106409f541eb53bc.zip
Wed Mar 8 13:38:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
	* posix/glob/configure.bat: Fixes from DJ.

	* time/backward, time/europe, time/northamerica, time/pacificnew,
	time/zdump.c, time/zic.c, time/tzfile.h, time/private.h,
	time/ialloc.c: Code and data updated from ADO's 95b.
	* time/emkdir.c: File removed.
	* time/Makefile (distribute, extra-objs, zic): Omit it.
	
	* time/localtime.c: Deansideclized.  Never #define __tzname et al
 	to non-__ names.

	* locale/lc-ctype.c (__ctype_tolower, __ctype_toupper): Use int *
 	instead of short int *.
	* ctype/ctype-info.c: Likewise.
	* ctype/ctype.h: Likewise.

	* locale/langinfo.h (_NL_CTYPE_CLASS): Use this (just one) instead
 	of EB and EL versions.
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;