Compare commits
2 Commits
29b5864dd3
...
278ae31e2e
Author | SHA1 | Date | |
---|---|---|---|
278ae31e2e | |||
5ef54a08b4 |
4
exile.h
4
exile.h
@ -247,7 +247,7 @@ struct syscall_vow_map
|
||||
|
||||
struct str_to_vow_map
|
||||
{
|
||||
char *str;
|
||||
const char *str;
|
||||
uint64_t value;
|
||||
};
|
||||
|
||||
@ -698,7 +698,7 @@ uint64_t exile_vows_from_str(const char *str)
|
||||
++str;
|
||||
}
|
||||
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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user