summaryrefslogtreecommitdiffstats
path: root/tests/timer
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2013-10-08 12:04:42 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-10-08 14:00:24 +0200
commit73ae7a9ca0b9f2bbf4a6800ed8e9aa9bbd99d597 (patch)
tree2fb7a6dad1e1a45b6adba12356869af8df7272b1 /tests/timer
parent42e0dc0cc3d20b4c222151dc7a9b5e63dabac734 (diff)
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.
Diffstat (limited to 'tests/timer')
-rw-r--r--tests/timer/timer_test.c2
1 files changed, 1 insertions, 1 deletions
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(&current, &v->stop, &res);
if (timercmp(&res, &precision, >)) {
fprintf(stderr, "ERROR: timer %p has expired too late!\n",
- v->timer);
+ &v->timer);
too_late++;
}