mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-21 14:56:18 +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;
|
ret = 1;
|
||||||
goto out;
|
goto out;
|
||||||
case 'c':
|
case 'c':
|
||||||
dwords = atoi(optarg);
|
dwords = strtol(optarg, NULL, 0);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user