build: Update compiler flags and addressing discovered warnings

Change-Id: I95e89871e1bcd15ee8e8b3fc181861e40a6b127b
diff --git a/tests/unit/repo-storage.cpp b/tests/unit/repo-storage.cpp
index 9157115..61632ad 100644
--- a/tests/unit/repo-storage.cpp
+++ b/tests/unit/repo-storage.cpp
@@ -53,7 +53,7 @@
     }
 
   // check size directly with the storage (repo doesn't have interface yet)
-  BOOST_CHECK_EQUAL(this->store->size(), this->data.size());
+  BOOST_CHECK_EQUAL(this->store->size(), static_cast<int64_t>(this->data.size()));
 
   // Read
   for (typename T::InterestContainer::iterator i = this->interests.begin();