summaryrefslogtreecommitdiff
path: root/src/ui/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/command.c')
-rw-r--r--src/ui/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/command.c b/src/ui/command.c
index d6c668db..a4868ca9 100644
--- a/src/ui/command.c
+++ b/src/ui/command.c
@@ -80,7 +80,7 @@ uint32_t argU32Label_Command(const char *cmd, const char *label) {
80 init_Token(&tok, label); 80 init_Token(&tok, label);
81 const iRangecc ptr = find_Token(&tok, cmd); 81 const iRangecc ptr = find_Token(&tok, cmd);
82 if (ptr.start) { 82 if (ptr.start) {
83 return strtoul(ptr.end, NULL, 10); 83 return (uint32_t) strtoul(ptr.end, NULL, 10);
84 } 84 }
85 return 0; 85 return 0;
86} 86}