From 73ae7a9ca0b9f2bbf4a6800ed8e9aa9bbd99d597 Mon Sep 17 00:00:00 2001 From: Jacob Erlbeck Date: Tue, 8 Oct 2013 12:04:42 +0200 Subject: tests: Fix warnings This fixes warnings that are raised by missing includes, missing casts, missing return statements, using printf %lu with uint64_t, and unused symbols. --- tests/timer/timer_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/timer/timer_test.c') diff --git a/tests/timer/timer_test.c b/tests/timer/timer_test.c index bb9a177c..6184f667 100644 --- a/tests/timer/timer_test.c +++ b/tests/timer/timer_test.c @@ -115,7 +115,7 @@ static void secondary_timer_fired(void *data) timersub(¤t, &v->stop, &res); if (timercmp(&res, &precision, >)) { fprintf(stderr, "ERROR: timer %p has expired too late!\n", - v->timer); + &v->timer); too_late++; } -- cgit v1.2.3