]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Add casts to prevent warnings.
authorUlrich Drepper <drepper@redhat.com>
Sun, 13 Feb 2000 07:22:14 +0000 (07:22 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sun, 13 Feb 2000 07:22:14 +0000 (07:22 +0000)
locale/nl_langinfo.c

index 34772d35351e4e05aabd521ad30022fefc78376c..9b0b7c7e319b319d2f88ac46aeb4cd6d824609a0 100644 (file)
@@ -35,13 +35,13 @@ nl_langinfo (item)
 
   if (category < 0 || category >= LC_ALL)
     /* Bogus category: bogus item.  */
-    return "";
+    return (char *) "";
 
   data = *_nl_current[category];
 
   if (index >= data->nstrings)
     /* Bogus index for this category: bogus item.  */
-    return "";
+    return (char *) "";
 
   /* Return the string for the specified item.  */
   return (char *) data->values[index].string;