From 9a6d6f9d2a767b9c2f978540e4371090f12b2b3a Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Thu, 9 Jun 2022 13:50:01 +0200 Subject: [PATCH] fix: MSVC conversion issues fixed --- test/unit_test/static/quantity_kind_test.cpp | 2 +- test/unit_test/static/quantity_point_kind_test.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/unit_test/static/quantity_kind_test.cpp b/test/unit_test/static/quantity_kind_test.cpp index de507037..c421ec12 100644 --- a/test/unit_test/static/quantity_kind_test.cpp +++ b/test/unit_test/static/quantity_kind_test.cpp @@ -219,7 +219,7 @@ static_assert(same(quantity_kind(rate_of_climb(0.01 static_assert(construct_from_only>(1).common() == 1); static_assert(construct_from_only>(1.0).common() == 1); -static_assert(construct_from_only>(1ULL).common().number() == 1); +static_assert(construct_from_only>(1LL).common().number() == 1); static_assert(construct_from_only>(1.0L).common().number() == 1); static_assert(!constructible_or_convertible_from>(1.0)); static_assert(!constructible_or_convertible_from>(1.0)); diff --git a/test/unit_test/static/quantity_point_kind_test.cpp b/test/unit_test/static/quantity_point_kind_test.cpp index f8febd8e..9a234a29 100644 --- a/test/unit_test/static/quantity_point_kind_test.cpp +++ b/test/unit_test/static/quantity_point_kind_test.cpp @@ -264,7 +264,7 @@ static_assert(construct_from_only>(1).relative().common() static_assert(construct_from_only>(short{1}).relative().common() == 1); static_assert(construct_from_only>(1).relative().common() == 1); static_assert(construct_from_only>(1).relative().common() == 1); -static_assert(construct_from_only>(1ULL).relative().common().number() == 1); +static_assert(construct_from_only>(1LL).relative().common().number() == 1); static_assert(construct_from_only>(1).relative().common().number() == 1); static_assert(!constructible_or_convertible_from>(1.0)); static_assert(!constructible_or_convertible_from>(1.0));