Ensure computation of MaxBenchmarkIterations works on all architectures. fix-max-bench-iters
authorAlexandros Frantzis <alexandros.frantzis@linaro.org>
Thu, 25 Nov 2010 08:25:17 +0000 (10:25 +0200)
committerAlexandros Frantzis <alexandros.frantzis@linaro.org>
Thu, 25 Nov 2010 08:25:17 +0000 (10:25 +0200)
commit761eb3845abe6531a30c2d17784daec1801f1dc3
treedc0fbd11b76052ba40ab1524a21e2e47f00768ec
parent47f2fd33b776bee11fb98cb3248822e4d9043781
Ensure computation of MaxBenchmarkIterations works on all architectures.

The integer literal '1' is treated as an int by default. In architectures
where sizeof(int) != sizeof(long) the computation of MaxBenchmarkIterations
fails unless the literal is explicitly marked as unsigned long.
sct/common/core/sct_runner.c