From fc164cf3aafde991cdf1ea933c43edf82e09165f Mon Sep 17 00:00:00 2001 From: Han-Wen Nienhuys Date: Fri, 30 Jul 2004 16:59:30 +0000 Subject: [PATCH] opps. short option should be char, not int. --- ChangeLog | 3 +++ flower/include/getopt-long.hh | 10 +++++----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index c6e5b9d8e5..80147522c9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2004-07-30 Han-Wen Nienhuys + * flower/include/getopt-long.hh: opps. short option should be + char, not int. + * Documentation/user/GNUmakefile: use symlinks to save space. * VERSION: 2.3.9 released. diff --git a/flower/include/getopt-long.hh b/flower/include/getopt-long.hh index 4387e57932..2b6747e490 100644 --- a/flower/include/getopt-long.hh +++ b/flower/include/getopt-long.hh @@ -5,16 +5,16 @@ #include "string.hh" /** - a struct this for initialising the commandline options. - */ + a struct this for initialising the commandline options. +*/ struct Long_option_init { char const * take_arg_str0_; char const * longname_str0_; /* - > 255: don't take short version. - */ - int shortname_char_; + = 0: don't take short version. + */ + char shortname_char_; char const * help_str0_; -- 2.39.2