aboutsummaryrefslogtreecommitdiffstats
path: root/src/db
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-04-24 08:18:41 +0200
committerMax Kellermann <max@duempel.org>2014-04-24 08:18:41 +0200
commit1d1f8be26070aea8bfc79a4f43d0e7a5343f60d9 (patch)
treeff352b55b86f9c5d91a5cfed963f1779397229fd /src/db
parent38e6c0ad3f6ade197901c4b0095be7679094f9ed (diff)
downloadmpd-1d1f8be26070aea8bfc79a4f43d0e7a5343f60d9.tar.gz
mpd-1d1f8be26070aea8bfc79a4f43d0e7a5343f60d9.tar.xz
mpd-1d1f8be26070aea8bfc79a4f43d0e7a5343f60d9.zip
DatabasePrint: convert "type" to unsigned
Diffstat (limited to 'src/db')
-rw-r--r--src/db/DatabasePrint.cxx2
-rw-r--r--src/db/DatabasePrint.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/db/DatabasePrint.cxx b/src/db/DatabasePrint.cxx
index c8ffa102f..2a13b28e6 100644
--- a/src/db/DatabasePrint.cxx
+++ b/src/db/DatabasePrint.cxx
@@ -245,7 +245,7 @@ PrintUniqueTag(Client &client, TagType tag_type,
}
bool
-listAllUniqueTags(Client &client, int type,
+listAllUniqueTags(Client &client, unsigned type,
const SongFilter *filter,
Error &error)
{
diff --git a/src/db/DatabasePrint.hxx b/src/db/DatabasePrint.hxx
index ef75dae36..da8fecece 100644
--- a/src/db/DatabasePrint.hxx
+++ b/src/db/DatabasePrint.hxx
@@ -51,7 +51,7 @@ searchStatsForSongsIn(Client &client, const char *name,
Error &error);
bool
-listAllUniqueTags(Client &client, int type,
+listAllUniqueTags(Client &client, unsigned type,
const SongFilter *filter,
Error &error);