From 425bc4e24629f1c2d98a46d8799b94085b369840 Mon Sep 17 00:00:00 2001 From: Miika Pekkarinen Date: Sat, 21 Oct 2006 20:51:10 +0000 Subject: Fixed the simulator warnings. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11302 a1c6a512-1295-4272-9138-f99709370657 --- apps/tagcache.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps') diff --git a/apps/tagcache.c b/apps/tagcache.c index bf20927d95..83deaf6b34 100644 --- a/apps/tagcache.c +++ b/apps/tagcache.c @@ -2693,7 +2693,7 @@ static int parse_changelog_line(int line_n, const char *buf, void *parameters) struct index_entry idx; char tag_data[MAX_PATH]; int idx_id; - int masterfd = (int)parameters; + long masterfd = (long)parameters; const int import_tags[] = { tag_playcount, tag_playtime, tag_lastplayed }; int i; (void)line_n; @@ -2781,7 +2781,7 @@ bool tagcache_import_changelog(void) filenametag_fd = open_tag_fd(&tch, tag_filename, false); - fast_readline(filenametag_fd, buf, sizeof buf, (void *)masterfd, + fast_readline(filenametag_fd, buf, sizeof buf, (long *)masterfd, parse_changelog_line); close(clfd); -- cgit v1.2.3