addressed a few warnings in the filesystem code.
This commit is contained in:
parent
df5dc5ebd8
commit
efef4bdfd1
5 changed files with 6 additions and 6 deletions
|
|
@ -151,7 +151,7 @@ bool unicode_validate(const char* str)
|
|||
while (*str != 0)
|
||||
{
|
||||
int cp;
|
||||
int result = utf8proc_iterate((const uint8_t*)str, -1, &cp);
|
||||
auto result = utf8proc_iterate((const uint8_t*)str, -1, &cp);
|
||||
if (result < 0) return false;
|
||||
}
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue