libluna: Use the right unsigned integer type for wcscmp()'s return type
This commit is contained in:
parent
105ed79f8f
commit
9bb3fed611
@ -81,7 +81,8 @@ extern "C"
|
|||||||
a++;
|
a++;
|
||||||
b++;
|
b++;
|
||||||
}
|
}
|
||||||
return *(const u8*)a - *(const u8*)b;
|
static_assert(sizeof(wchar_t) == sizeof(u32));
|
||||||
|
return *(const u32*)a - *(const u32*)b;
|
||||||
}
|
}
|
||||||
|
|
||||||
int strncmp(const char* a, const char* b, usize max)
|
int strncmp(const char* a, const char* b, usize max)
|
||||||
|
Loading…
Reference in New Issue
Block a user