diff options
Diffstat (limited to 'common/host_event_commands.c')
-rw-r--r-- | common/host_event_commands.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/host_event_commands.c b/common/host_event_commands.c index 665a268ec4..ae2026efaf 100644 --- a/common/host_event_commands.c +++ b/common/host_event_commands.c @@ -459,7 +459,7 @@ static int command_host_event(int argc, char **argv) /* Handle sub-commands */ if (argc == 3) { char *e; - host_event_t i = strtoul(argv[2], &e, 0); + host_event_t i = strtoull(argv[2], &e, 0); if (*e) return EC_ERROR_PARAM2; |