diff options
Diffstat (limited to 'src/image')
-rw-r--r-- | src/image/script.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/image/script.c b/src/image/script.c index 881d51f3..8d80241d 100644 --- a/src/image/script.c +++ b/src/image/script.c @@ -361,7 +361,7 @@ struct prompt_options { /** Key to wait for */ unsigned int key; /** Timeout */ - unsigned int timeout; + unsigned long timeout; }; /** "prompt" option list */ @@ -369,7 +369,7 @@ static struct option_descriptor prompt_opts[] = { OPTION_DESC ( "key", 'k', required_argument, struct prompt_options, key, parse_key ), OPTION_DESC ( "timeout", 't', required_argument, - struct prompt_options, timeout, parse_integer ), + struct prompt_options, timeout, parse_timeout ), }; /** "prompt" command descriptor */ |