summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/main.c2
-rw-r--r--apps/tagcache.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/main.c b/apps/main.c
index 915aec27d3..e7a01c899a 100644
--- a/apps/main.c
+++ b/apps/main.c
@@ -141,9 +141,9 @@ void init_dircache(void)
141 141
142void init_tagcache(void) 142void init_tagcache(void)
143{ 143{
144#ifdef HAVE_LCD_BITMAP
144 int font_w, font_h; 145 int font_w, font_h;
145 146
146#ifdef HAVE_LCD_BITMAP
147 /* Print "Scanning disk..." to the display. */ 147 /* Print "Scanning disk..." to the display. */
148 lcd_getstringsize("A", &font_w, &font_h); 148 lcd_getstringsize("A", &font_w, &font_h);
149 lcd_putsxy((LCD_WIDTH/2) - ((strlen(str(LANG_TAGCACHE_INIT))*font_w)/2), 149 lcd_putsxy((LCD_WIDTH/2) - ((strlen(str(LANG_TAGCACHE_INIT))*font_w)/2),
diff --git a/apps/tagcache.c b/apps/tagcache.c
index f6a42d0088..850eaf9733 100644
--- a/apps/tagcache.c
+++ b/apps/tagcache.c
@@ -1367,7 +1367,7 @@ static void allocate_tempbuf(void)
1367{ 1367{
1368 /* Yeah, malloc would be really nice now :) */ 1368 /* Yeah, malloc would be really nice now :) */
1369 tempbuf = (char *)(((long)audiobuf & ~0x03) + 0x04); 1369 tempbuf = (char *)(((long)audiobuf & ~0x03) + 0x04);
1370 tempbuf_size = (int)audiobufend - (int)audiobuf - 4; 1370 tempbuf_size = (long)audiobufend - (long)audiobuf - 4;
1371 audiobuf += tempbuf_size; 1371 audiobuf += tempbuf_size;
1372} 1372}
1373 1373