diff options
author | katherine <shmibs@shmibbles.me> | 2018-03-21 23:15:58 -0700 |
---|---|---|
committer | katherine <shmibs@shmibbles.me> | 2018-03-21 23:15:58 -0700 |
commit | 9e843b2dda247b5e61d168a77bf93afa3f0e78db (patch) | |
tree | 75bf47fc044e4ca7efd85687eaba4d5882e5ef21 /doc | |
parent | d2043c1d4cc0a1ec2d7c4b2ed7f9b6d529514172 (diff) | |
download | simple-opt-9e843b2dda247b5e61d168a77bf93afa3f0e78db.tar.gz |
resolve some pedantic warnings
Diffstat (limited to 'doc')
-rw-r--r-- | doc/interface.md | 9 |
1 files changed, 6 insertions, 3 deletions
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; }; ``` |