silence a warning

This commit is contained in:
radius 2015-12-17 17:48:58 -05:00
parent 788fd17031
commit f64fc93c44

View file

@ -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);