diff options
Diffstat (limited to 'src/init/main.c')
-rw-r--r-- | src/init/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init/main.c b/src/init/main.c index 3403a3b..fb379d2 100644 --- a/src/init/main.c +++ b/src/init/main.c @@ -5,7 +5,7 @@ const char *multipageify(const char *str) { static char buf[0x2000] __attribute__((section("text"))); - char *out = ((uintptr_t)buf & ~0xFFF) + 0xFFF; + char *out = (void*)((uintptr_t)buf & ~0xFFF) + 0xFFF; char *cur = out; do { *cur++ = *str; |