Compare commits
No commits in common. "278ae31e2e3f73f1141efd7f92e17fde6ea79931" and "29b5864dd3f6ee554e28e6662b0b23871d2b983f" have entirely different histories.
278ae31e2e
...
29b5864dd3
4
exile.h
4
exile.h
@ -247,7 +247,7 @@ struct syscall_vow_map
|
|||||||
|
|
||||||
struct str_to_vow_map
|
struct str_to_vow_map
|
||||||
{
|
{
|
||||||
const char *str;
|
char *str;
|
||||||
uint64_t value;
|
uint64_t value;
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -698,7 +698,7 @@ uint64_t exile_vows_from_str(const char *str)
|
|||||||
++str;
|
++str;
|
||||||
}
|
}
|
||||||
int found = 0;
|
int found = 0;
|
||||||
for(size_t i = 0; i < sizeof(str_to_vow_map)/sizeof(str_to_vow_map[0]); i++)
|
for(int 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)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user