| 122 | |
| 123 | |
| 124 | unsigned char loctolower(unsigned char ch) |
| 125 | { |
| 126 | #if defined(_WIN_ALL) |
| 127 | // Convert to LPARAM first to avoid a warning in 64 bit mode. |
| 128 | // Convert to uintptr_t to avoid Clang/win error: cast to 'char *' from smaller integer type 'unsigned char' [-Werror,-Wint-to-pointer-cast] |
| 129 | return (int)(LPARAM)CharLowerA((LPSTR)(uintptr_t)ch); |
| 130 | #else |
| 131 | return tolower(ch); |
| 132 | #endif |
| 133 | } |
| 134 | |
| 135 | |
| 136 | unsigned char loctoupper(unsigned char ch) |
nothing calls this directly
no outgoing calls
no test coverage detected