| 134 | |
| 135 | |
| 136 | unsigned char loctoupper(unsigned char ch) |
| 137 | { |
| 138 | #if defined(_WIN_ALL) |
| 139 | // Convert to LPARAM first to avoid a warning in 64 bit mode. |
| 140 | // Convert to uintptr_t to avoid Clang/win error: cast to 'char *' from smaller integer type 'unsigned char' [-Werror,-Wint-to-pointer-cast] |
| 141 | return (int)(LPARAM)CharUpperA((LPSTR)(uintptr_t)ch); |
| 142 | #else |
| 143 | return toupper(ch); |
| 144 | #endif |
| 145 | } |
| 146 | |
| 147 | |
| 148 | // toupper with English only results if English input is provided. |
nothing calls this directly
no outgoing calls
no test coverage detected