diff options
author | wm4 <wm4@nowhere> | 2015-08-01 20:51:52 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-08-01 21:09:11 +0200 |
commit | 41101c2996262c47757bc3bbf39cc11bd7dc5f99 (patch) | |
tree | 2add0f03bfd0a318880b9de5888f2ff264ad82d6 /stream/stream_file.c | |
parent | fefac2c941149fb49bcb5126060be74494d0c287 (diff) | |
download | mpv-41101c2996262c47757bc3bbf39cc11bd7dc5f99.tar.bz2 mpv-41101c2996262c47757bc3bbf39cc11bd7dc5f99.tar.xz |
win32: revert wchar_t changes
Revert "win32: more wchar_t -> WCHAR replacements"
Revert "win32: replace wchar_t with WCHAR"
Doing a "partial" port of this makes no sense anymore from my
perspective. Revert the changes, as they're confusing without
context, maintenance, and progress. These changes were a bit
premature anyway, and might actually cause other issues
(locale neutrality etc. as it was pointed out).
Diffstat (limited to 'stream/stream_file.c')
-rw-r--r-- | stream/stream_file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/stream_file.c b/stream/stream_file.c index 114b1d4eb8..527261edd7 100644 --- a/stream/stream_file.c +++ b/stream/stream_file.c @@ -198,7 +198,7 @@ static bool check_stream_network(int fd) // NtQueryVolumeInformationFile is an internal Windows function. It has // been present since Windows XP, however this code should fail gracefully // if it's removed from a future version of Windows. - HMODULE ntdll = GetModuleHandleW(u"ntdll.dll"); + HMODULE ntdll = GetModuleHandleW(L"ntdll.dll"); pNtQueryVolumeInformationFile = (NTSTATUS (NTAPI*)(HANDLE, PIO_STATUS_BLOCK, PVOID, ULONG, FS_INFORMATION_CLASS)) GetProcAddress(ntdll, "NtQueryVolumeInformationFile"); |