Mercurial > hg > octave-kai > gnulib-hg
changeset 3590:668acd27f78f
(ARGMATCH_TO_ARGUMENT): Remove casts of first two args
in argmatch_to_argument call.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Sat, 03 Nov 2001 21:46:29 +0000 |
parents | 14d4e4fa65d3 |
children | 217c82624f74 |
files | lib/argmatch.h |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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 *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_ */