MCPcopy Create free account
hub / github.com/abbeycode/UnrarKit / loctolower

Function loctolower

Libraries/unrar/strfn.cpp:124–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122
123
124unsigned 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
136unsigned char loctoupper(unsigned char ch)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected