47cb4d7bd0
Right now we're casting uint64_t's to native pointers. This isn't causing any problems right now, but if we want to provide a 32-bit compatibility layer that works on 64-bit systems as well, this will cause problems. Casting a uint32_t to a 64-bit pointer throws a compiler error. Introduce a TO_PTR() macro that casts the value to uintptr_t before casting it to a pointer. |
||
---|---|---|
.. | ||
cloudabi64_fd.c | ||
cloudabi64_module.c | ||
cloudabi64_poll.c | ||
cloudabi64_proto.h | ||
cloudabi64_sock.c | ||
cloudabi64_syscall.h | ||
cloudabi64_syscalls.c | ||
cloudabi64_sysent.c | ||
cloudabi64_systrace_args.c | ||
cloudabi64_thread.c | ||
cloudabi64_util.h | ||
Makefile | ||
syscalls.conf |