BUILD: debug: fix build issue on 32-bit platforms in "debug dev task"
Commit 986798718 ("DEBUG: cli: add "debug dev task" to show/wake/expire/kill tasks and tasklets") caused a build failure on 32-bit platforms when parsing the task's pointer. Let's use strtoul() and not strtoll(). No backport is needed, unless the commit above gets backported.
This commit is contained in:
parent
e279f595ad
commit
94df1b57ee
@ -982,7 +982,7 @@ static int debug_parse_cli_task(char **args, char *payload, struct appctx *appct
|
||||
return 1;
|
||||
|
||||
/* parse the pointer value */
|
||||
ptr = (void *)strtoll(args[3], &endarg, 0);
|
||||
ptr = (void *)strtoul(args[3], &endarg, 0);
|
||||
if (!*args[3] || *endarg)
|
||||
goto usage;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user