X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flibpspp%2Fargv-parser.c;h=dfa86fad5b70d201671f6f5dcbf8192e12e6a722;hb=26ff6fce95fb38f0986017dd922c36d4b1b239c7;hp=ecf1ab23c74264ba4331ba413e5b14edd4836125;hpb=b5c82cc9aabe7e641011130240ae1b2e84348e23;p=pspp-builds.git diff --git a/src/libpspp/argv-parser.c b/src/libpspp/argv-parser.c index ecf1ab23..dfa86fad 100644 --- a/src/libpspp/argv-parser.c +++ b/src/libpspp/argv-parser.c @@ -1,5 +1,5 @@ /* PSPP - a program for statistical analysis. - Copyright (C) 2009 Free Software Foundation, Inc. + Copyright (C) 2009, 2010 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 @@ -128,11 +128,11 @@ argv_parser_run (struct argv_parser *ap, int argc, char **argv) if (shortopt_ptrs[c] == NULL) { shortopt_ptrs[c] = aop; - ds_put_char (&shortopts, aop->base.short_name); + ds_put_byte (&shortopts, aop->base.short_name); if (aop->base.has_arg != no_argument) - ds_put_char (&shortopts, ':'); + ds_put_byte (&shortopts, ':'); if (aop->base.has_arg == optional_argument) - ds_put_char (&shortopts, ':'); + ds_put_byte (&shortopts, ':'); } else {