test: fix compile warnings under -Werror

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Iae11cb541f238c8e6122afaef2186c9ea5aad0c6
diff --git a/test/elog_errorwrap_test.cpp b/test/elog_errorwrap_test.cpp
index c94c638..5c6f0d6 100644
--- a/test/elog_errorwrap_test.cpp
+++ b/test/elog_errorwrap_test.cpp
@@ -9,7 +9,7 @@
 
 TEST_F(TestLogManager, logCap)
 {
-    for (auto i = 0; i < ERROR_INFO_CAP + 20; i++)
+    for (size_t i = 0; i < ERROR_INFO_CAP + 20; i++)
     {
         manager.commitWithLvl(i, "FOO", 6);
     }
@@ -18,7 +18,7 @@
     // ERROR_INFO_CAP
     EXPECT_EQ(ERROR_INFO_CAP, manager.getInfoErrSize());
 
-    for (auto i = 0; i < ERROR_CAP + 20; i++)
+    for (size_t i = 0; i < ERROR_CAP + 20; i++)
     {
         manager.commitWithLvl(i, "FOO", 0);
     }