From: Jan Kiszka <kiszka@domain.hid>
To: xenomai-core <xenomai@xenomai.org>
Subject: [Xenomai-core] [patch] signedness issues in testsuite
Date: Fri, 21 Oct 2005 10:27:17 +0200 [thread overview]
Message-ID: <4358A665.2020903@domain.hid> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 28 bytes --]
Fixes gcc-4 warnings.
Jan
[-- Attachment #1.2: signedness.patch --]
[-- Type: text/plain, Size: 1193 bytes --]
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 */
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 254 bytes --]
next reply other threads:[~2005-10-21 8:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-21 8:27 Jan Kiszka [this message]
2005-10-21 17:43 ` [Xenomai-core] [patch] signedness issues in testsuite Philippe Gerum
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4358A665.2020903@domain.hid \
--to=kiszka@domain.hid \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.