From 08c9ac85c2f80a8ee8ec070ec764d6c49301816a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?T=C3=B6r=C3=B6k=20Edvin?= Date: Thu, 12 Feb 2009 19:18:35 +0000 Subject: [PATCH] fix git-svn: trunk@4767 --- ChangeLog | 4 ++++ shared/getopt.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index c890e8681..5b32bfbc3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Thu Feb 12 21:47:27 EET 2009 (edwin) +------------------------------------ + * shared/getopt.c: fix + Thu Feb 12 21:35:15 EET 2009 (edwin) ------------------------------------ * shared/getopt.c, shared/getopt.h: make prototype compatible with diff --git a/shared/getopt.c b/shared/getopt.c index 0239e3401..f50e928ff 100644 --- a/shared/getopt.c +++ b/shared/getopt.c @@ -48,7 +48,7 @@ int getopt_reset(void) int getopt(int argc, char * const argvc[], const char *opts) { - char **argv = (char*)argvc; + char **argv = (char**)argvc; static int charind=0; const char *s; char mode, colon_mode;