From 3a763985c52246b1b804cdd7ee7bd49a82e76bd3 Mon Sep 17 00:00:00 2001 From: Bernard Normier Date: Thu, 1 Nov 2018 17:14:06 -0400 Subject: Increase Visual Studio warning level to Level4 Fixes #223. --- cpp/src/Slice/PythonUtil.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src/Slice/PythonUtil.cpp') diff --git a/cpp/src/Slice/PythonUtil.cpp b/cpp/src/Slice/PythonUtil.cpp index c4b3f48726b..1e5d38037bf 100644 --- a/cpp/src/Slice/PythonUtil.cpp +++ b/cpp/src/Slice/PythonUtil.cpp @@ -459,7 +459,7 @@ Slice::Python::CodeVisitor::writeOperations(const ClassDefPtr& p) if((*oli)->hasMarshaledResult()) { string name = (*oli)->name(); - name[0] = toupper(static_cast(name[0])); + name[0] = static_cast(toupper(static_cast(name[0]))); _out << sp; _out << nl << "\"\"\""; _out << nl << "Immediately marshals the result of an invocation of " << (*oli)->name() -- cgit v1.2.3