From f64fc93c44510b0761deb9091e61bc56855bfafa Mon Sep 17 00:00:00 2001 From: radius Date: Thu, 17 Dec 2015 17:48:58 -0500 Subject: [PATCH] silence a warning --- gfx/common/win32_common.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/common/win32_common.cpp b/gfx/common/win32_common.cpp index 3bec5c195f..62efe7f4a9 100644 --- a/gfx/common/win32_common.cpp +++ b/gfx/common/win32_common.cpp @@ -427,7 +427,7 @@ bool win32_suppress_screensaver(void *data, bool enable) RequestContext.Version = POWER_REQUEST_CONTEXT_VERSION; RequestContext.Flags = POWER_REQUEST_CONTEXT_SIMPLE_STRING; - RequestContext.Reason.SimpleReasonString = L"RetroArch running"; + RequestContext.Reason.SimpleReasonString = (LPWSTR)L"RetroArch running"; Request = PowerCreateRequest(&RequestContext);