From b602787a9332ea20d7d00f42054d060ae0c21760 Mon Sep 17 00:00:00 2001 From: Piotr Caban Date: Wed, 27 Mar 2019 14:08:28 +0100 Subject: [PATCH] winmm: Don't use toupper. Signed-off-by: Piotr Caban Signed-off-by: Andrew Eikum Signed-off-by: Alexandre Julliard --- dlls/winmm/mmio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/winmm/mmio.c b/dlls/winmm/mmio.c index b4155b6f511..6f143019751 100644 --- a/dlls/winmm/mmio.c +++ b/dlls/winmm/mmio.c @@ -38,6 +38,7 @@ #include "windef.h" #include "winbase.h" #include "winnls.h" +#include "winternl.h" #include "mmsystem.h" #include "winemm.h" @@ -1054,7 +1055,7 @@ FOURCC WINAPI mmioStringToFOURCCA(LPCSTR sz, UINT uFlags) for (i = 0; i < 4 && sz[i]; i++) { if (uFlags & MMIO_TOUPPER) { - cc[i] = toupper(sz[i]); + cc[i] = RtlUpperChar(sz[i]); } else { cc[i] = sz[i]; }