From 6515373b2a63a24b77ff20a26e9b18468f29a6f9 Mon Sep 17 00:00:00 2001 From: Joel Bodenmann Date: Sun, 2 Feb 2014 12:59:36 +0100 Subject: removing casts of gfxAlloc() return value as that is the whole idea behind having a void pointer --- src/gos/raw32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gos') diff --git a/src/gos/raw32.c b/src/gos/raw32.c index 5a65ea86..5e11064c 100644 --- a/src/gos/raw32.c +++ b/src/gos/raw32.c @@ -542,7 +542,7 @@ static void _gosThreadsInit(void) { char * framebase; // Allocate a buffer to store our test data - pframeinfo = (saveloc *)gfxAlloc(sizeof(saveloc)*2); + pframeinfo = gfxAlloc(sizeof(saveloc)*2); // Get details of the stack frame from within a function get_stack_state_in_fn(); -- cgit v1.2.3