aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZoran Markovic <zoran.markovic@linaro.org>2014-01-26 16:08:25 -0800
committerZoran Markovic <zoran.markovic@linaro.org>2014-01-26 16:08:25 -0800
commit7cf042383726a9a2516d03ad52c9e87ab24652a1 (patch)
tree5d8521b5dd6f1e419f58258d218a9a483f869073
parent253e3c90d0f2adcd967c569d35d5d97035c6501e (diff)
Fixing compile warning on amd64.
-rw-r--r--idlestat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/idlestat.c b/idlestat.c
index e023f82..ab3aaab 100644
--- a/idlestat.c
+++ b/idlestat.c
@@ -429,7 +429,7 @@ static struct cpuidle_datas *idlestat_load(const char *path)
fclose(f);
fprintf(stderr, "Log is %lf secs long with %d events\n",
- end - begin, count);
+ end - begin, (int)count);
return datas;
}