From 4b902679cc5fcca7f4e8d83b25112754f7903736 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Tue, 19 Dec 2006 16:50:07 +0000 Subject: Convert queues to use intptr_t for event data and return values as most of the time pointer are not passed and it should make some things a bit cleaner. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11818 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/battery_bench.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/plugins') diff --git a/apps/plugins/battery_bench.c b/apps/plugins/battery_bench.c index 7e439cb..bf0c2f3 100644 --- a/apps/plugins/battery_bench.c +++ b/apps/plugins/battery_bench.c @@ -141,7 +141,7 @@ bool exit_tsr(bool reenter) exit = false; if (exit) { - rb->queue_post(&thread_q, EV_EXIT, NULL); + rb->queue_post(&thread_q, EV_EXIT, 0); while (!s_thread.ended) rb->yield(); /* remove the thread's queue from the broadcast list */ -- cgit v1.1