From 725d83e37d3067fb6500280e03baefcdeb7e7e14 Mon Sep 17 00:00:00 2001 From: Tommy Nguyen Date: Sat, 4 Jul 2015 20:13:18 +0200 Subject: [PATCH] Fixed code analysis warning C28251. --- include/internal/catch_debugger.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/internal/catch_debugger.hpp b/include/internal/catch_debugger.hpp index 8c552661..787f1fbf 100644 --- a/include/internal/catch_debugger.hpp +++ b/include/internal/catch_debugger.hpp @@ -82,7 +82,7 @@ #endif // Platform #ifdef CATCH_PLATFORM_WINDOWS - extern "C" __declspec(dllimport) void __stdcall OutputDebugStringA( const char* ); + extern "C" __declspec(dllimport) void __stdcall OutputDebugStringA( _In_opt_ const char* ); namespace Catch { void writeToDebugConsole( std::string const& text ) { ::OutputDebugStringA( text.c_str() );