diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-08-30 18:05:55 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-08-30 18:05:55 +0100 |
commit | 593e9817534a7d884164597005578da2223d089b (patch) | |
tree | d8677ed4e7cef0e7a1ef75958cfea64f4625805f /test/test-postgresql.cpp | |
parent | Add -Wpedantic (diff) | |
download | mygrate-593e9817534a7d884164597005578da2223d089b.tar.bz2 mygrate-593e9817534a7d884164597005578da2223d089b.tar.xz mygrate-593e9817534a7d884164597005578da2223d089b.zip |
Fix up all remaining warnings
Diffstat (limited to 'test/test-postgresql.cpp')
-rw-r--r-- | test/test-postgresql.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-postgresql.cpp b/test/test-postgresql.cpp index f1c7990..eafe5b3 100644 --- a/test/test-postgresql.cpp +++ b/test/test-postgresql.cpp @@ -134,7 +134,7 @@ using FloatTypes = boost::mpl::list<float, double>; BOOST_AUTO_TEST_CASE_TEMPLATE(write_floats, T, FloatTypes) { MyGrate::Output::Pq::WritePqCopyStream c {s}; - c(T {1.1F}); + c(T {static_cast<T>(1.1F)}); flush(); BOOST_REQUIRE(out); |