summaryrefslogtreecommitdiff
path: root/apps/tagcache.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/tagcache.c')
-rw-r--r--apps/tagcache.c4
1 files changed, 2 insertions, 2 deletions
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)
2693 struct index_entry idx; 2693 struct index_entry idx;
2694 char tag_data[MAX_PATH]; 2694 char tag_data[MAX_PATH];
2695 int idx_id; 2695 int idx_id;
2696 int masterfd = (int)parameters; 2696 long masterfd = (long)parameters;
2697 const int import_tags[] = { tag_playcount, tag_playtime, tag_lastplayed }; 2697 const int import_tags[] = { tag_playcount, tag_playtime, tag_lastplayed };
2698 int i; 2698 int i;
2699 (void)line_n; 2699 (void)line_n;
@@ -2781,7 +2781,7 @@ bool tagcache_import_changelog(void)
2781 2781
2782 filenametag_fd = open_tag_fd(&tch, tag_filename, false); 2782 filenametag_fd = open_tag_fd(&tch, tag_filename, false);
2783 2783
2784 fast_readline(filenametag_fd, buf, sizeof buf, (void *)masterfd, 2784 fast_readline(filenametag_fd, buf, sizeof buf, (long *)masterfd,
2785 parse_changelog_line); 2785 parse_changelog_line);
2786 2786
2787 close(clfd); 2787 close(clfd);