mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-21 06:46:13 +00:00
intel_reg_read: use strtol instead of atoi
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
This commit is contained in:
parent
baf026d692
commit
ea944a9faf
@ -87,7 +87,7 @@ int main(int argc, char** argv)
|
||||
ret = 1;
|
||||
goto out;
|
||||
case 'c':
|
||||
dwords = atoi(optarg);
|
||||
dwords = strtol(optarg, NULL, 0);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user