From e2ff5df1661b4119f584578d49c54899a9ef45b6 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Mon, 30 Jul 2018 22:10:59 +0200 Subject: Fixed signed/unsigned comparison --- common/fulltextindex.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/fulltextindex.cpp b/common/fulltextindex.cpp index bf0151e..d6210f6 100644 --- a/common/fulltextindex.cpp +++ b/common/fulltextindex.cpp @@ -172,7 +172,7 @@ QVector FulltextIndex::lookup(const QString &searchTerm) Xapian::Enquire enquire(*mDb); enquire.set_query(query); - const auto limit = [&] { + const Xapian::doccount limit = [&] { switch (searchTerm.size()) { case 1: case 2: -- cgit v1.2.3