From b5a1674ec5efa6b2e13ceadebfe910d288ef8fe4 Mon Sep 17 00:00:00 2001 From: abitmore Date: Sat, 3 Feb 2018 05:57:46 +0000 Subject: [PATCH] Fix Windows build --- libraries/app/util.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/app/util.cpp b/libraries/app/util.cpp index b3a3b9833a..a7c80b9ebe 100644 --- a/libraries/app/util.cpp +++ b/libraries/app/util.cpp @@ -54,7 +54,7 @@ fc::uint128 to_capped128( const u256& t ) string uint128_amount_to_string( const fc::uint128& amount, const uint8_t precision ) { try { string s = string( amount ); - if( precision == 0 || amount == 0 ) + if( precision == 0 || amount == fc::uint128() ) return s; std::stringstream ss;