From: Ilias Apalodimas <[email protected]>
Signed-off-by: Ilias Apalodimas <[email protected]>
---
/** Email created from pull request 157 (apalos:gen_cpu_fix)
** https://github.com/Linaro/odp/pull/157
** Patch: https://github.com/Linaro/odp/pull/157.patch
** Base sha: 7508c5ac906bb7cb1d339b4c5e924f3a18e504ca
** Merge commit sha: 97c6454f7e6815bb0ef487892e3cfad99ca08c46
**/
example/generator/odp_generator.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/example/generator/odp_generator.c
b/example/generator/odp_generator.c
index fad83db5..d89bb87a 100644
--- a/example/generator/odp_generator.c
+++ b/example/generator/odp_generator.c
@@ -792,7 +792,7 @@ static void print_global_stats(int num_workers)
stall = odp_time_to_ns(left);
stall = (stall / 1000000000) + 1;
stall &= 0xFFFFFFFF;
- sleep((unsigned int) stall);
+ sleep((unsigned int)stall);
continue;
}