diff options
-rw-r--r-- | tools/intel_reg_read.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/intel_reg_read.c b/tools/intel_reg_read.c index ee6f126c5..ae631be02 100644 --- a/tools/intel_reg_read.c +++ b/tools/intel_reg_read.c @@ -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; } } |