diff options
author | Vishal Bhoj <vishal.bhoj@hackbox.linaro.org> | 2015-02-11 04:44:36 +0000 |
---|---|---|
committer | Lisa Nguyen <lisa.nguyen@linaro.org> | 2015-02-18 16:46:54 -0800 |
commit | 4fe62773b7001e298603f724536a044fded13b8c (patch) | |
tree | d664aba009f9052cad85945cd433058a68408766 | |
parent | de3c5f3e638ac6298da687d72cfb73351f5d7d65 (diff) | |
download | pm-qa-4fe62773b7001e298603f724536a044fded13b8c.tar.gz |
Fix compiler warning [-Werror=int-to-pointer-cast]
Signed-off-by: Vishal Bhoj <vishal.bhoj@hackbox.linaro.org>
-rw-r--r-- | utils/heat_cpu.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/heat_cpu.c b/utils/heat_cpu.c index 02e0b6d..677e8bb 100644 --- a/utils/heat_cpu.c +++ b/utils/heat_cpu.c @@ -95,7 +95,8 @@ void *do_loop(void *data) int main(int arg_count, char *argv[]) { - int ret, i; + int ret; + long i; int num_cpus = sysconf(_SC_NPROCESSORS_ONLN); cpu_set_t cpuset; |