From 1d1f8be26070aea8bfc79a4f43d0e7a5343f60d9 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 24 Apr 2014 08:18:41 +0200 Subject: [PATCH] DatabasePrint: convert "type" to unsigned --- src/db/DatabasePrint.cxx | 2 +- src/db/DatabasePrint.hxx | 2 +- 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);