From 469a5824b80427f2672b1adcbb4b42fec542639e Mon Sep 17 00:00:00 2001 From: Warren Dukes Date: Mon, 15 Nov 2004 22:55:05 +0000 Subject: get rid of a gcc warning git-svn-id: https://svn.musicpd.org/mpd/trunk@2682 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/tagTracker.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/tagTracker.c b/src/tagTracker.c index 4e310d8b3..57a96c70b 100644 --- a/src/tagTracker.c +++ b/src/tagTracker.c @@ -129,23 +129,23 @@ void resetVisitedFlagsInTagTracker(int type) { } int wasVisitedInTagTracker(int type, char * str) { - TagTrackerItem * item; + void * item; if(!tagLists[type]) return 0; if(!findInList(tagLists[type], str, &item)) return 0; - return item->visited; + return ((TagTrackerItem *)item)->visited; } void visitInTagTracker(int type, char * str) { - TagTrackerItem * item; + void * item; if(!tagLists[type]) return; if(!findInList(tagLists[type], str, &item)) return; - item->visited = 1; + ((TagTrackerItem *)item)->visited = 1; } void printVisitedInTagTracker(FILE * fp, int type) { -- cgit v1.2.3