summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-11-03 21:46:29 +0000
committerJim Meyering <jim@meyering.net>2001-11-03 21:46:29 +0000
commit2ad3aaaca2bf16c5a66aea56170d3135465121b6 (patch)
treef80e8d50ee0ddc48cbb71877c6a958359ee4fef0 /lib
parent3eba873029fbfa8738d4c3501b3653b7598a50ff (diff)
downloadcoreutils-2ad3aaaca2bf16c5a66aea56170d3135465121b6.tar.xz
(ARGMATCH_TO_ARGUMENT): Remove casts of first two args
in argmatch_to_argument call.
Diffstat (limited to 'lib')
-rw-r--r--lib/argmatch.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/argmatch.h b/lib/argmatch.h
index d3f25cc33..b71930097 100644
--- a/lib/argmatch.h
+++ b/lib/argmatch.h
@@ -1,5 +1,5 @@
/* argmatch.h -- definitions and prototypes for argmatch.c
- Copyright (C) 1990, 1998, 1999 Free Software Foundation, Inc.
+ Copyright (C) 1990, 1998, 1999, 2001 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -123,7 +123,7 @@ const char *argmatch_to_argument
const char *vallist, size_t valsize));
# define ARGMATCH_TO_ARGUMENT(Value, Arglist, Vallist) \
- argmatch_to_argument ((char const *) &(Value), (Arglist), \
+ argmatch_to_argument ((Value), (Arglist), \
(const char *) (Vallist), sizeof (*(Vallist)))
#endif /* ARGMATCH_H_ */