signedness issues in testsuite
PATCH 1/1 signedness issues in testsuite
Fixes gcc-4 warnings.
Jan
latency/latency.c +3 -3
@@ -40,9 +40,9 @@#define WARMUP_TIME 1#define HISTOGRAM_CELLS 100int histogram_size =HISTOGRAM_CELLS ; -unsigned long *histogram_avg =NULL , - *histogram_max =NULL , - *histogram_min =NULL ; +long *histogram_avg =NULL , + *histogram_max =NULL , + *histogram_min =NULL ;int do_histogram =0 , do_stats =0 , finished =0 ;int bucketsize =1000 ;/* default = 1000ns, -B <size> to override */
klatency/latency.c +3 -3
@@ -12,9 +12,9 @@#define HISTOGRAM_CELLS 200int histogram_size =HISTOGRAM_CELLS ; -unsigned long *histogram_avg =NULL , - *histogram_max =NULL , - *histogram_min =NULL ; +long *histogram_avg =NULL , + *histogram_max =NULL , + *histogram_min =NULL ;int do_histogram =0 , do_stats =0 , finished =0 ;int bucketsize =1000 ;/* bucketsize */
Philippe Gerum
AppliedQuoted 2 lines · Jan Kiszka
Fixes gcc-4 warnings.
Applied, thanks.
Quoted 48 lines
Jan
------------------------------------------------------------------------
Index:
testsuite/latency/latency.c
===================================================================latency/latency.c +3
-3@@ -40,9 +40,9 @@#define WARMUP_TIME 1#define HISTOGRAM_CELLS 100int histogram_size =HISTOGRAM_CELLS ; -unsigned long *histogram_avg =NULL , - *histogram_max =NULL , - *histogram_min =NULL ; +long *histogram_avg =NULL , + *histogram_max =NULL , + *histogram_min =NULL ;int do_histogram =0 , do_stats =0 , finished =0 ;int bucketsize =1000 ;/* default = 1000ns, -B <size> to override */ Index:
testsuite/klatency/latency.c
===================================================================klatency/latency.c +3
-4@@ -12,9 +12,9 @@#define HISTOGRAM_CELLS 200int histogram_size =HISTOGRAM_CELLS ; -unsigned long *histogram_avg =NULL , - *histogram_max =NULL , - *histogram_min =NULL ; +long *histogram_avg =NULL , + *histogram_max =NULL , + *histogram_min =NULL ;int do_histogram =0 , do_stats =0 , finished =0 ;int bucketsize =1000 ;/* bucketsize */ ------------------------------------------------------------------------_______________________________________________
Xenomai-core mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-core
Signature · 1 line
Philippe.