1998-09-05 Roland McGrath <roland@baalperazim.frob.com>
authorroland <roland>
Sat, 5 Sep 1998 04:02:08 +0000 (04:02 +0000)
committerroland <roland>
Sat, 5 Sep 1998 04:02:08 +0000 (04:02 +0000)
* string/argz.h (argz_next): Add de-consting cast for return.
* string/argz-next.c (__argz_next): Likewise.

string/argz-next.c

index edb4956..b3dab09 100644 (file)
@@ -33,7 +33,7 @@ __argz_next (const char *argz, size_t argz_len, const char *entry)
     }
   else
     if (argz_len > 0)
-      return argz;
+      return (char *) argz;
     else
       return NULL;
 }