repo: fix config max-packets from int to uint64_t

refs #2736

Change-Id: I19471dd999081042457c0364cd6bef7b9ffe8e4d
diff --git a/src/repo.cpp b/src/repo.cpp
index 64287e2..0ec3837 100644
--- a/src/repo.cpp
+++ b/src/repo.cpp
@@ -106,7 +106,7 @@
 
   repoConfig.validatorNode = repoConf.get_child("validator");
 
-  repoConfig.nMaxPackets = repoConf.get<int>("storage.max-packets");
+  repoConfig.nMaxPackets = repoConf.get<uint64_t>("storage.max-packets");
 
   return repoConfig;
 }