From 230df78780c730e5715e8196300a2b74d25c75f8 Mon Sep 17 00:00:00 2001 From: Yuri D'Elia Date: Fri, 16 Aug 2019 11:49:26 +0200 Subject: [PATCH] Avoid wrong type/warning in comparison --- lib/mu-store.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mu-store.cc b/lib/mu-store.cc index eadafe88..3e71e55d 100644 --- a/lib/mu-store.cc +++ b/lib/mu-store.cc @@ -709,7 +709,7 @@ mu_store_personal_addresses (const MuStore *store) const auto size = self(store)->personal_addresses().size(); auto addrs = g_new0 (char*, 1 + size); - for (auto i = 0; i != size; ++i) + for (size_t i = 0; i != size; ++i) addrs[i] = g_strdup(self(store)->personal_addresses()[i].c_str()); return addrs;