about summary refs log tree commit diff
path: root/localedata/tst-ctype.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-12-22 20:10:10 +0000
committerUlrich Drepper <drepper@redhat.com>2004-12-22 20:10:10 +0000
commita334319f6530564d22e775935d9c91663623a1b4 (patch)
treeb5877475619e4c938e98757d518bb1e9cbead751 /localedata/tst-ctype.c
parent0ecb606cb6cf65de1d9fc8a919bceb4be476c602 (diff)
downloadglibc-a334319f6530564d22e775935d9c91663623a1b4.tar.gz
glibc-a334319f6530564d22e775935d9c91663623a1b4.tar.xz
glibc-a334319f6530564d22e775935d9c91663623a1b4.zip
(CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4.
Diffstat (limited to 'localedata/tst-ctype.c')
-rw-r--r--localedata/tst-ctype.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/localedata/tst-ctype.c b/localedata/tst-ctype.c
index f4e01f0826..fb2e78cbb2 100644
--- a/localedata/tst-ctype.c
+++ b/localedata/tst-ctype.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2000,02, 05 Free Software Foundation, Inc.
+/* Copyright (C) 2000,02 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@gnu.org>, 2000.
 
@@ -345,14 +345,14 @@ punct = %04x  alnum = %04x\n",
 	  || getline (&resline, &reslinelen, stdin) <= 0)
 	break;
 
-      inp = (unsigned char *) strchr (inpline, '\n');
+      inp = strchr (inpline, '\n');
       if (inp != NULL)
 	*inp = '\0';
-      resp = (unsigned char *) strchr (resline, '\n');
+      resp = strchr (resline, '\n');
       if (resp != NULL)
 	*resp = '\0';
 
-      inp = (unsigned char *) inpline;
+      inp = inpline;
       while (*inp != ' ' && *inp != '\t' && *inp && *inp != '\n'
 	     && *inp != '\0')
 	++inp;
@@ -371,11 +371,11 @@ punct = %04x  alnum = %04x\n",
 	if (strcmp (inpline, classes[n].name) == 0)
 	  break;
 
-      resp = (unsigned char *) resline;
+      resp = resline;
       while (*resp == ' ' || *resp == '\t')
 	++resp;
 
-      if (strlen ((char *) inp) != strlen ((char *) resp))
+      if (strlen (inp) != strlen (resp))
 	{
 	  printf ("lines \"%.20s\"... and \"%.20s\" have not the same length\n",
 		  inp, resp);
@@ -384,7 +384,7 @@ punct = %04x  alnum = %04x\n",
 
       if (n < nclasses)
 	{
-	  if (strspn ((char *) resp, "01") != strlen ((char *) resp))
+	  if (strspn (resp, "01") != strlen (resp))
 	    {
 	      printf ("result string \"%s\" malformed\n", resp);
 	      continue;