Fixed the yellow builds.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9264 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Miika Pekkarinen 2006-03-26 17:48:12 +00:00
parent 8083e8c0de
commit de2f070577
2 changed files with 2 additions and 2 deletions

View file

@ -141,9 +141,9 @@ void init_dircache(void)
void init_tagcache(void)
{
#ifdef HAVE_LCD_BITMAP
int font_w, font_h;
#ifdef HAVE_LCD_BITMAP
/* Print "Scanning disk..." to the display. */
lcd_getstringsize("A", &font_w, &font_h);
lcd_putsxy((LCD_WIDTH/2) - ((strlen(str(LANG_TAGCACHE_INIT))*font_w)/2),

View file

@ -1367,7 +1367,7 @@ static void allocate_tempbuf(void)
{
/* Yeah, malloc would be really nice now :) */
tempbuf = (char *)(((long)audiobuf & ~0x03) + 0x04);
tempbuf_size = (int)audiobufend - (int)audiobuf - 4;
tempbuf_size = (long)audiobufend - (long)audiobuf - 4;
audiobuf += tempbuf_size;
}