Fix red and a couple other things I somehow missed.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19378 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Michael Sevakis 2008-12-10 09:11:43 +00:00
parent 8cfbd3604f
commit f2f394793c
4 changed files with 4 additions and 4 deletions

View file

@ -115,7 +115,7 @@ static bool pcmbuf_flush;
static int codec_thread_priority = PRIORITY_PLAYBACK; static int codec_thread_priority = PRIORITY_PLAYBACK;
#endif #endif
extern uintptr_t codec_thread_id; extern unsigned int codec_thread_id;
/* Helpful macros for use in conditionals this assumes some of the above /* Helpful macros for use in conditionals this assumes some of the above
* static variable names */ * static variable names */

View file

@ -37,7 +37,7 @@
/***************************************************************************/ /***************************************************************************/
extern uintptr_t codec_thread_id; extern unsigned int codec_thread_id;
/** General recording state **/ /** General recording state **/
static bool is_recording; /* We are recording */ static bool is_recording; /* We are recording */

View file

@ -159,7 +159,7 @@ void mc13783_init(void)
#ifdef PMIC_DRIVER_CLOSE #ifdef PMIC_DRIVER_CLOSE
void mc13783_close(void) void mc13783_close(void)
{ {
unsigned int thread_id = mc13783_thread_p; unsigned int thread_id = mc13783_thread_id;
if (thread_id == 0) if (thread_id == 0)
return; return;

View file

@ -539,7 +539,7 @@ void usb_start_monitoring(void)
#ifdef USB_DRIVER_CLOSE #ifdef USB_DRIVER_CLOSE
void usb_close(void) void usb_close(void)
{ {
uintptr_t thread = usb_thread_entry; unsigned int thread = usb_thread_entry;
usb_thread_entry = 0; usb_thread_entry = 0;
if (thread == 0) if (thread == 0)