diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/codecs/aac.c | 2 | ||||
-rw-r--r-- | apps/tagcache.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/apps/codecs/aac.c b/apps/codecs/aac.c index 7c64bc9a31..11a9d2888d 100644 --- a/apps/codecs/aac.c +++ b/apps/codecs/aac.c | |||
@@ -200,7 +200,7 @@ next_track: | |||
200 | err = CODEC_OK; | 200 | err = CODEC_OK; |
201 | 201 | ||
202 | done: | 202 | done: |
203 | LOGF("AAC: Decoded %d samples, %d frames\n", sound_samples_done); | 203 | LOGF("AAC: Decoded %lu samples\n", sound_samples_done); |
204 | 204 | ||
205 | if (ci->request_next_track()) | 205 | if (ci->request_next_track()) |
206 | goto next_track; | 206 | goto next_track; |
diff --git a/apps/tagcache.c b/apps/tagcache.c index 3a8e73599b..6f49d372e3 100644 --- a/apps/tagcache.c +++ b/apps/tagcache.c | |||
@@ -2395,7 +2395,7 @@ static int build_index(int index_type, struct tagcache_header *h, int tmpfd) | |||
2395 | { | 2395 | { |
2396 | logf("too long entry!"); | 2396 | logf("too long entry!"); |
2397 | logf("length=%d", entry.tag_length[index_type]); | 2397 | logf("length=%d", entry.tag_length[index_type]); |
2398 | logf("pos=0x%02x", lseek(tmpfd, 0, SEEK_CUR)); | 2398 | logf("pos=0x%02lx", lseek(tmpfd, 0, SEEK_CUR)); |
2399 | error = true; | 2399 | error = true; |
2400 | break ; | 2400 | break ; |
2401 | } | 2401 | } |
@@ -2429,7 +2429,7 @@ static int build_index(int index_type, struct tagcache_header *h, int tmpfd) | |||
2429 | idxbuf[j].tag_seek[index_type] = tempbuf_find_location(i + j); | 2429 | idxbuf[j].tag_seek[index_type] = tempbuf_find_location(i + j); |
2430 | if (idxbuf[j].tag_seek[index_type] < 0) | 2430 | if (idxbuf[j].tag_seek[index_type] < 0) |
2431 | { | 2431 | { |
2432 | logf("entry not found (%d)"); | 2432 | logf("entry not found (%d)", j); |
2433 | error = true; | 2433 | error = true; |
2434 | break ; | 2434 | break ; |
2435 | } | 2435 | } |
@@ -3496,7 +3496,7 @@ static bool load_tagcache(void) | |||
3496 | logf("read error #13"); | 3496 | logf("read error #13"); |
3497 | logf("rc=0x%04x", rc); // 0x431 | 3497 | logf("rc=0x%04x", rc); // 0x431 |
3498 | logf("len=0x%04x", fe->tag_length); // 0x4000 | 3498 | logf("len=0x%04x", fe->tag_length); // 0x4000 |
3499 | logf("pos=0x%04x", lseek(fd, 0, SEEK_CUR)); // 0x433 | 3499 | logf("pos=0x%04lx", lseek(fd, 0, SEEK_CUR)); // 0x433 |
3500 | logf("tag=0x%02x", tag); // 0x00 | 3500 | logf("tag=0x%02x", tag); // 0x00 |
3501 | close(fd); | 3501 | close(fd); |
3502 | return false; | 3502 | return false; |