summaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
authorKjartan Maraas <kmaraas@fib.hl.no>1998-05-12 13:17:00 +0000
committerKjartan Maraas <kmaraas@src.gnome.org>1998-05-12 13:17:00 +0000
commitb997172f4db44cb378a83eecf85245120a3bed65 (patch)
treeceb627dfde1e1b93460585f682ed2b3c92437c71 /support
parente819fd0516e306aadb2d520a7c2536ee4612df26 (diff)
downloadshared-mime-info-b997172f4db44cb378a83eecf85245120a3bed65.tar.gz
Removed the bad fix I introduced. I will never make a lvalue cast again.
1998-05-12 Kjartan Maraas <kmaraas@fib.hl.no> * argp-help.c: Removed the bad fix I introduced. I will never make a lvalue cast again. :) svn path=/trunk/; revision=203
Diffstat (limited to 'support')
-rw-r--r--support/ChangeLog5
-rw-r--r--support/argp-help.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/support/ChangeLog b/support/ChangeLog
index 4bbbbe00..bedffb5d 100644
--- a/support/ChangeLog
+++ b/support/ChangeLog
@@ -1,3 +1,8 @@
+1998-05-12 Kjartan Maraas <kmaraas@fib.hl.no>
+
+ * argp-help.c (argp_doc): Backed out previous "fix". :-)
+ As pointed out it was dead wrong.
+
1998-05-09 Kjartan Maraas <kmaraas@fib.hl.no>
* argp-help.c (argp_doc): Removed a compiler warning.
diff --git a/support/argp-help.c b/support/argp-help.c
index 9a626c3e..39d294fb 100644
--- a/support/argp-help.c
+++ b/support/argp-help.c
@@ -1411,7 +1411,7 @@ argp_doc (const struct argp *argp, const struct argp_state *state,
{
if (inp_text_limit)
/* Copy INP_TEXT so that it's nul-terminated. */
- (char *)inp_text = strndup (inp_text, inp_text_limit);
+ inp_text = strndup (inp_text, inp_text_limit);
input = __argp_input (argp, state);
text =
(*argp->help_filter) (post