From: Jim Meyering Date: Sat, 3 Nov 2001 21:46:29 +0000 (+0000) Subject: (ARGMATCH_TO_ARGUMENT): Remove casts of first two args X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3d3775d4bb6edacefa8b27f83592a97dbf406a2;p=pspp (ARGMATCH_TO_ARGUMENT): Remove casts of first two args in argmatch_to_argument call. --- diff --git a/lib/argmatch.h b/lib/argmatch.h index d3f25cc333..b719300970 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_ */