From 5d7a9519c6e10b02df2176192a902402199a7337 Mon Sep 17 00:00:00 2001 From: Maxime Vincent Date: Tue, 5 Jan 2021 18:55:12 +0100 Subject: [PATCH] coru_platform [ARM]: fix for Wincompatible-pointer-types warning --- coru_platform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coru_platform.c b/coru_platform.c index fb64002..7243d6e 100644 --- a/coru_platform.c +++ b/coru_platform.c @@ -156,7 +156,7 @@ int coru_plat_init(void **psp, uintptr_t **pcanary, // setup stack pointer and canary *psp = &sp[-9]; - *pcanary = &sp[-size/sizeof(uint32_t)]; + *pcanary = (uintptr_t *)&sp[-size/sizeof(uint32_t)]; return 0; }