Re: [PATCH v2,1/2] fix build on arc and riscv32

2021-08-15 Thread Jan Kiszka via Xenomai
On 13.08.21 17:04, Fabrice Fontaine via Xenomai wrote: > Fix the following build failures on arc and riscv32 (same issue in > demo/alchemy/altency.c and testsuite/latency/latency.c): > > altency.c: In function ‘display’: > altency.c:262:21: error: format ‘%ld’ expects argument of type ‘long int’,

[PATCH v2,1/2] fix build on arc and riscv32

2021-08-13 Thread Fabrice Fontaine via Xenomai
Fix the following build failures on arc and riscv32 (same issue in demo/alchemy/altency.c and testsuite/latency/latency.c): altency.c: In function ‘display’: altency.c:262:21: error: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘time_t’ {aka ‘long long int’}