Fix warning when compiling with logf() enabled

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21956 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Maurus Cuelenaere 2009-07-18 13:23:15 +00:00
parent 11a14dd998
commit fbc8cde3a9

View file

@ -189,7 +189,7 @@ static int dbg_threads_action_callback(int action, struct gui_synclist *lists)
if (selpos >= NUM_CORES) if (selpos >= NUM_CORES)
remove_thread(threads[selpos - NUM_CORES].id); remove_thread(threads[selpos - NUM_CORES].id);
#else #else
remove_thread(&threads[selpos]); remove_thread(threads[selpos].id);
#endif #endif
return ACTION_REDRAW; return ACTION_REDRAW;
} }