From f3d3775d4bb6edacefa8b27f83592a97dbf406a2 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 3 Nov 2001 21:46:29 +0000 Subject: [PATCH] (ARGMATCH_TO_ARGUMENT): Remove casts of first two args in argmatch_to_argument call. --- lib/argmatch.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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_ */ -- 2.30.2