Commit 0caee0aa authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

My recent 'discover correct -spersistent mmap address' fix broke

32 bit systems.

Spotted by:	Kristian
parent 6a59dacc
...@@ -164,7 +164,7 @@ smp_mgt_init(struct stevedore *parent, int ac, char * const *av) ...@@ -164,7 +164,7 @@ smp_mgt_init(struct stevedore *parent, int ac, char * const *av)
i = read(sc->fd, &sgn, sizeof sgn); i = read(sc->fd, &sgn, sizeof sgn);
assert(i == sizeof sgn); assert(i == sizeof sgn);
if (!strcmp(sgn.ident, "SILO")) if (!strcmp(sgn.ident, "SILO"))
target = (void*)sgn.mapped; target = (void*)(uintptr_t)sgn.mapped;
else else
target = NULL; target = NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment