From 9e843b2dda247b5e61d168a77bf93afa3f0e78db Mon Sep 17 00:00:00 2001 From: katherine Date: Wed, 21 Mar 2018 23:15:58 -0700 Subject: resolve some pedantic warnings --- doc/interface.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'doc') diff --git a/doc/interface.md b/doc/interface.md index 86937f8..da07986 100644 --- a/doc/interface.md +++ b/doc/interface.md @@ -53,9 +53,12 @@ the fields which are set by `simple_opt_parse` are: union { bool val_bool; - int val_int; - unsigned val_unsigned; - char val_string[SIMPLE_OPT_ARG_MAX_WIDTH]; + long val_int; + unsigned long val_unsigned; + double val_double; + char val_char; + char val_string[SIMPLE_OPT_OPT_ARG_MAX_WIDTH]; + int val_string_set_idx; }; ``` -- cgit v1.2.3