diff options
author | dzwdz | 2021-08-22 12:17:43 +0200 |
---|---|---|
committer | dzwdz | 2021-08-22 12:17:43 +0200 |
commit | 374e6d244f184056d64fd02729a7badf02991e29 (patch) | |
tree | 129dcc05757d3354bac0b217ca557eee8ff8c1b4 /src/init/main.c | |
parent | 0128c5dc7ff2da36114b8f55187234d9b55db353 (diff) |
fix almost all compiler warnings
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; |