Warning fix in gnome-libs/support/argp-help.c



I sent this yesterday as well so if anyone gets duplicates I'm sorry.

I'm not sure if this is correct, but here we go anyway.

A small fix? to get rid of a compiler warning.

Is this ok?

Cheers
Kjartan
--- argp-help.c.old	Sat Mar  7 04:14:58 1998
+++ argp-help.c	Fri May  8 21:45:44 1998
@@ -1411,7 +1411,7 @@
     {
       if (inp_text_limit)
 	/* Copy INP_TEXT so that it's nul-terminated.  */
-	inp_text = strndup (inp_text, inp_text_limit);
+      (char *)inp_text = strndup (inp_text, inp_text_limit);
       input = __argp_input (argp, state);
       text =
 	(*argp->help_filter) (post



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]