In preparation for '-Wextra'
Change-Id: I9a3b91009b2b44c0aeacfb37fa2b8b901be79992
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
double dbl = 2.0;
float flt = 2222.0;
/* Generate 30 events. */
- unsigned int nr_iter = 100;
+ int nr_iter = 100;
useconds_t nr_usec = 0;
if (argc >= 2) {
}
len = write(fd, nr_events_str, strlen(nr_events_str) + 1);
- if (len != strlen(nr_events_str) + 1) {
+ if (len != (ssize_t) strlen(nr_events_str) + 1) {
perror("write");
ret = -1;
} else {