fixup! Introduce exile_vows_from_str()

This commit is contained in:
Albert S. 2022-01-30 10:45:05 +01:00
parent 5ef54a08b4
commit 278ae31e2e

View File

@ -698,7 +698,7 @@ uint64_t exile_vows_from_str(const char *str)
++str; ++str;
} }
int found = 0; int found = 0;
for(int i = 0; i < sizeof(str_to_vow_map)/sizeof(str_to_vow_map[0]); i++) for(size_t i = 0; i < sizeof(str_to_vow_map)/sizeof(str_to_vow_map[0]); i++)
{ {
if(strcmp(str_to_vow_map[i].str, current) == 0) if(strcmp(str_to_vow_map[i].str, current) == 0)
{ {