vcpkg/ports/clickhouse-cpp/fix-error-c2668.patch
JonLiu1993 d6150f960c
[clickhouse-cpp] update to 1.5.0 (#18330)
* [clickhouse-cpp] update to 1.2.2

* update version

* [clickhouse-cpp] update to 1.5.0

* update version

* fix error c4996

* update version

* merge baseline.json

* update baseline.json

* add Add patch description

* update version

* Add patch comment

* update version
2021-09-17 07:53:30 -07:00

14 lines
439 B
Diff

diff --git a/clickhouse/columns/decimal.cpp b/clickhouse/columns/decimal.cpp
index 7334bb1..41d43b6 100644
--- a/clickhouse/columns/decimal.cpp
+++ b/clickhouse/columns/decimal.cpp
@@ -27,7 +27,7 @@ inline bool mulOverflow(const Int128 & l, const T & r, Int128 * result)
#else
template <typename T>
-inline bool getSignBit(const T & v)
+inline bool getSignBit(const T & (long double v))
{
return std::signbit(v);
}