Jan Kiszka wrote:
Fixes gcc-4 warnings.


Applied, thanks.

Jan



------------------------------------------------------------------------

Index: testsuite/latency/latency.c
===================================================================
--- testsuite/latency/latency.c (revision 54)
+++ testsuite/latency/latency.c (working copy)
@@ -40,9 +40,9 @@
 #define WARMUP_TIME 1
 #define HISTOGRAM_CELLS 100
 int 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
===================================================================
--- testsuite/klatency/latency.c        (revision 54)
+++ testsuite/klatency/latency.c        (working copy)
@@ -12,9 +12,9 @@
#define HISTOGRAM_CELLS 200
 int 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
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core


--

Philippe.

Reply via email to