From 3f1c03869212bca1e1ace34bf8bd6cba53bf0aae Mon Sep 17 00:00:00 2001 From: Matt Witherspoon <32485495+spoonincode@users.noreply.github.com> Date: Tue, 14 May 2019 09:38:29 -0400 Subject: [PATCH] correct signed mismatch warning --- libraries/chain/controller.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/chain/controller.cpp b/libraries/chain/controller.cpp index 3b211d8bd9e..2a438333c7f 100644 --- a/libraries/chain/controller.cpp +++ b/libraries/chain/controller.cpp @@ -515,7 +515,7 @@ struct controller_impl { void init(std::function shutdown, const snapshot_reader_ptr& snapshot) { // Setup state if necessary (or in the default case stay with already loaded state): - auto lib_num = 1; + uint32_t lib_num = 1u; if( snapshot ) { snapshot->validate(); if( blog.head() ) {