mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-09 12:58:41 +03:00
fix warnings at high warning level in msvc
This commit is contained in:
parent
5de851a84d
commit
fdfa6ed260
6 changed files with 6 additions and 6 deletions
|
@ -346,7 +346,7 @@ static void mi_option_init(mi_option_desc_t* desc) {
|
|||
size_t len = strlen(s);
|
||||
if (len >= sizeof(buf)) len = sizeof(buf) - 1;
|
||||
for (size_t i = 0; i < len; i++) {
|
||||
buf[i] = toupper(s[i]);
|
||||
buf[i] = (char)toupper(s[i]);
|
||||
}
|
||||
buf[len] = 0;
|
||||
if (buf[0]==0 || strstr("1;TRUE;YES;ON", buf) != NULL) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue