From bd13876f46ae63d32da976f54cabf4e6dc982377 Mon Sep 17 00:00:00 2001 From: Jordan Rose Date: Thu, 10 Nov 2016 23:41:18 +0000 Subject: [PATCH] [Sema] Fix-up for MSVC, which is stricter about template types. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@286525 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Sema/SemaType.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Sema/SemaType.cpp b/lib/Sema/SemaType.cpp index 13843da081..0fbf97ff0e 100644 --- a/lib/Sema/SemaType.cpp +++ b/lib/Sema/SemaType.cpp @@ -3545,7 +3545,7 @@ static void recordNullabilitySeen(Sema &S, SourceLocation loc) { S.Diag(fileNullability.PointerLoc, diag::warn_nullability_missing_array); } else { S.Diag(fileNullability.PointerLoc, diag::warn_nullability_missing) - << fileNullability.PointerKind; + << static_cast(fileNullability.PointerKind); } } -- 2.40.0