From f6cf6bbeb28f4691a5072fe64672f2609a8393a4 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Fri, 22 Jan 2016 11:15:36 +0100 Subject: Fix mismatching type in comparison. --- src/audiocacheidmanager.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/audiocacheidmanager.cc b/src/audiocacheidmanager.cc index 5d4248b..87aaa41 100644 --- a/src/audiocacheidmanager.cc +++ b/src/audiocacheidmanager.cc @@ -57,7 +57,7 @@ cache_t& AudioCacheIDManager::getCache(cacheid_t id) assert(id != CACHE_NOID); assert(id != CACHE_DUMMYID); assert(id >= 0); - assert(id < id2cache.size()); + assert(id < (int)id2cache.size()); assert(id2cache[id].id == id); return id2cache[id]; -- cgit v1.2.3