1
0
Fork 0
forked from len0rd/rockbox

flac: fix warning introduced in 5758a05

Change-Id: I649f7c356b8b790d6dfbd071a8e391a84d0cdcca
This commit is contained in:
Solomon Peachy 2020-08-10 14:32:40 -04:00
parent 5758a055fb
commit 8c7780bafc

View file

@ -73,7 +73,7 @@ bool get_flac_metadata(int fd, struct mp3entry* id3)
{ {
unsigned long totalsamples; unsigned long totalsamples;
if (i >= sizeof(id3->path) || read(fd, buf, i) != i) if (i >= sizeof(id3->path) || read(fd, buf, i) != (int)i)
{ {
return rc; return rc;
} }