aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/opt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/opt.c b/src/opt.c
index ac6832e..a856c74 100644
--- a/src/opt.c
+++ b/src/opt.c
@@ -50,13 +50,13 @@ void opt_parse(int argc, char **argv)
const char* opt_infile_str(void)
{
return (options[2].was_seen
- ? options[2].val_string
+ ? options[2].val.v_string
: NULL);
}
const char* opt_outfile_str(void)
{
return (options[3].was_seen
- ? options[3].val_string
+ ? options[3].val.v_string
: NULL);
}