1
0
Fork 0
forked from len0rd/rockbox

fix 64bit sim warning

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17235 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2008-04-24 08:51:54 +00:00
parent 7c0a8e1d4c
commit 5f3356b942

View file

@ -3544,7 +3544,7 @@ static bool delete_entry(long idx_id)
if (tc_stat.ramcache && tag != tag_filename) if (tc_stat.ramcache && tag != tag_filename)
{ {
struct tagfile_entry *tfe; struct tagfile_entry *tfe;
long *seek = &hdr->indices[idx_id].tag_seek[tag]; int32_t *seek = &hdr->indices[idx_id].tag_seek[tag];
tfe = (struct tagfile_entry *)&hdr->tags[tag][*seek]; tfe = (struct tagfile_entry *)&hdr->tags[tag][*seek];
*seek = crc_32(tfe->tag_data, strlen(tfe->tag_data), 0xffffffff); *seek = crc_32(tfe->tag_data, strlen(tfe->tag_data), 0xffffffff);