From 5b1441166984a68c20d26c730c5486afd7484fda Mon Sep 17 00:00:00 2001
From: Niels Lohmann <mail@nlohmann.me>
Date: Sat, 21 Jul 2018 10:59:00 +0200
Subject: [PATCH] :checkered_flag: trying to fix C2440 error

Error in AppVeyor:

unit-conversions.cpp(441): error C2440: 'initializing': cannot convert from 'nlohmann::json' to 'std::nullptr_t'

(https://ci.appveyor.com/project/nlohmann/json/build/2838/job/wo7im01sq6tvhe9m)
---
 test/src/unit-conversions.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/src/unit-conversions.cpp b/test/src/unit-conversions.cpp
index 7a502089..5259acbb 100644
--- a/test/src/unit-conversions.cpp
+++ b/test/src/unit-conversions.cpp
@@ -438,7 +438,7 @@ TEST_CASE("value conversion")
         std::nullptr_t n;
         json j(n);
 
-        std::nullptr_t n2 = j;
+        std::nullptr_t n2 = (std::nullptr_t)j;
         CHECK(n2 == n);
     }