Skip to content

Commit

Permalink
Merge pull request cryptonomex#629 from bitshares/180202-fix-windows-…
Browse files Browse the repository at this point in the history
…build

Fix Windows build
  • Loading branch information
abitmore authored Feb 3, 2018
2 parents c570a73 + b5a1674 commit bd84271
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/app/util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit bd84271

Please sign in to comment.