]> Git Repo - VerusCoin.git/commitdiff
Auto merge of #3089 - kozyilmaz:clang, r=str4d
authorHomu <[email protected]>
Fri, 16 Mar 2018 00:21:23 +0000 (17:21 -0700)
committerHomu <[email protected]>
Fri, 16 Mar 2018 00:21:23 +0000 (17:21 -0700)
[macOS] Fix test/gtest bugs caught by latest clang

Tests fail with latest clang on macOS (clang-900.0.39.2)

```
test/rpc_wallet_tests.cpp:1064:26: error: implicit conversion from 'double' to 'CAmount' (aka 'long long') changes value from 123.456 to 123 [-Werror,-Wliteral-conversion]
test/rpc_wallet_tests.cpp:1071:18: error: implicit conversion from 'double' to 'CAmount' (aka 'long long') changes value from 1.111 to 1 [-Werror,-Wliteral-conversion]
gtest/test_deprecation.cpp:28:1: error: control reaches end of non-void function [-Werror,-Wreturn-type]
```

Part of #2246.

1  2 
src/test/rpc_wallet_tests.cpp

Simple merge
This page took 0.044576 seconds and 4 git commands to generate.