mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-08 03:45:24 +00:00
parent
65bdddbbdf
commit
43cb97cd83
@ -158,7 +158,7 @@ struct Sym_tab
|
||||
if (sym->st_shndx == SHN_UNDEF || !sym->st_value)
|
||||
continue;
|
||||
|
||||
char const *name = (char const *)sym->st_name + str_tab;
|
||||
char const *name = (char const *)(sym->st_name + str_tab);
|
||||
if (!is_wanted(name))
|
||||
continue;
|
||||
|
||||
@ -166,7 +166,7 @@ struct Sym_tab
|
||||
/* set absolute value */
|
||||
sym_tab[out_cnt].st_value += map->l_addr;
|
||||
if (verbose)
|
||||
PDBG("Read symbol %s val: %x", name, sym_tab[out_cnt].st_value);
|
||||
PDBG("Read symbol %s val: %zx", name, sym_tab[out_cnt].st_value);
|
||||
out_cnt++;
|
||||
}
|
||||
}
|
||||
|
@ -103,7 +103,7 @@ struct lwp * rumpuser_curlwp(void)
|
||||
int rumpuser_thread_create(func f, void *arg, const char *name,
|
||||
int mustjoin, int priority, int cpui_dx, void **cookie)
|
||||
{
|
||||
static int count = 0;
|
||||
static long count = 0;
|
||||
|
||||
if (mustjoin)
|
||||
*cookie = (void *)++count;
|
||||
|
Loading…
x
Reference in New Issue
Block a user