diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-11-15 22:55:05 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-11-15 22:55:05 +0000 |
commit | 469a5824b80427f2672b1adcbb4b42fec542639e (patch) | |
tree | 118ea55ae3a849cdf06c0ff360f0b4b607d94300 /src/tagTracker.c | |
parent | d5a9925d1f73b8e26bd312965af3d530118e76f5 (diff) | |
download | mpd-469a5824b80427f2672b1adcbb4b42fec542639e.tar.gz mpd-469a5824b80427f2672b1adcbb4b42fec542639e.tar.xz mpd-469a5824b80427f2672b1adcbb4b42fec542639e.zip |
get rid of a gcc warning
git-svn-id: https://svn.musicpd.org/mpd/trunk@2682 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/tagTracker.c')
-rw-r--r-- | src/tagTracker.c | 8 |
1 files 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) { |