Module: xenomai-3
Branch: stable-3.0.x
Commit: 580ac2acd8951260ca842a79504ee5d20fe04f81
URL:    
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=580ac2acd8951260ca842a79504ee5d20fe04f81

Author: Philippe Gerum <r...@xenomai.org>
Date:   Wed Dec 28 12:59:44 2016 +0100

testsuite/spitest: fix x86_32 build

---

 testsuite/spitest/spitest.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testsuite/spitest/spitest.c b/testsuite/spitest/spitest.c
index 40ef9a9..b25dc70 100644
--- a/testsuite/spitest/spitest.c
+++ b/testsuite/spitest/spitest.c
@@ -233,7 +233,7 @@ static void *display_thread(void *arg)
                        dt = now - start;
                        printf("RTT|  %.2ld:%.2ld:%.2ld  (%Ld us period)\n",
                               dt / 3600, (dt / 60) % 60, dt % 60,
-                              period_ns / 1000);
+                              (long long)period_ns / 1000);
                        printf("RTH|%11s|%11s|%11s|%8s|%8s|%11s|%11s\n",
                               "----lat min", "----lat avg",
                               "----lat max", "-overrun", "-errors",


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai-git

Reply via email to