From c04c82c7cfbca232f86f4e10e96430846380af99 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 23 Aug 2017 08:01:03 +0530 Subject: [PATCH] Fix compiler warning in sqlite_custom module --- src/calibre/library/sqlite_custom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/library/sqlite_custom.c b/src/calibre/library/sqlite_custom.c index c24c58f15a..7af0c51995 100644 --- a/src/calibre/library/sqlite_custom.c +++ b/src/calibre/library/sqlite_custom.c @@ -86,7 +86,7 @@ static int sort_concat_cmp(const void *a_, const void *b_) { static unsigned char* sort_concat_do_finalize(SortConcatList *list, const unsigned char join) { unsigned char *ans, *pos; - int sz = 0, i; + unsigned int sz = 0, i; for (i = 0; i < list->count; i++) { sz += list->vals[i]->length;