summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/intel_pstate/aperf.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/intel_pstate/aperf.c')
-rw-r--r--tools/testing/selftests/intel_pstate/aperf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/intel_pstate/aperf.c b/tools/testing/selftests/intel_pstate/aperf.c
index 6046e183f4ad..cd72f3dc83e9 100644
--- a/tools/testing/selftests/intel_pstate/aperf.c
+++ b/tools/testing/selftests/intel_pstate/aperf.c
@@ -14,7 +14,7 @@ void usage(char *name) {
}
int main(int argc, char **argv) {
- int i, cpu, fd;
+ unsigned int i, cpu, fd;
char msr_file_name[64];
long long tsc, old_tsc, new_tsc;
long long aperf, old_aperf, new_aperf;