diff options
author | Frank Rowand <frank.rowand@am.sony.com> | 2012-05-03 12:48:48 -0700 |
---|---|---|
committer | Clark Williams <williams@redhat.com> | 2012-05-03 16:17:57 -0500 |
commit | 683a326a12e75c6d4afc8b61cfe0cec5c8cb965b (patch) | |
tree | ea70888dc402f782f5450b68f785ea0bf4268075 | |
parent | e43bee01585e1407c48dc5ecc5f2be74737fd336 (diff) | |
download | cyclictest-683a326a12e75c6d4afc8b61cfe0cec5c8cb965b.tar.gz |
rt-tests: printf format compile warning
V2: use type casting instead of ugly constant in format string
Fix printf format string to fix compile warning for ARM 32 bit target.
Signed-off-by: Frank Rowand <frank.rowand@am.sony.com>
Signed-off-by: Clark Williams <williams@redhat.com>
-rw-r--r-- | src/cyclictest/cyclictest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cyclictest/cyclictest.c b/src/cyclictest/cyclictest.c index d0a1168..880f42c 100644 --- a/src/cyclictest/cyclictest.c +++ b/src/cyclictest/cyclictest.c @@ -1602,7 +1602,7 @@ int main(int argc, char **argv) print_tids(parameters, num_threads); if (break_thread_id) { printf("# Break thread: %d\n", break_thread_id); - printf("# Break value: %lu\n", break_thread_value); + printf("# Break value: %llu\n", (unsigned long long)break_thread_value); } } |