summaryrefslogtreecommitdiff
path: root/test/test-postgresql.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-08-30 18:05:55 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2021-08-30 18:05:55 +0100
commit593e9817534a7d884164597005578da2223d089b (patch)
treed8677ed4e7cef0e7a1ef75958cfea64f4625805f /test/test-postgresql.cpp
parentAdd -Wpedantic (diff)
downloadmygrate-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.cpp2
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);