Add proper type cast.
Thanks to Martin for reporting this. svn path=/trunk/; revision=29451
This commit is contained in:
parent
5b88477401
commit
e4e9b91275
|
@ -139,7 +139,7 @@ void except_deinit(void)
|
|||
static int init_counter;
|
||||
static void unhandled_catcher(except_t *);
|
||||
static void (*uh_catcher_ptr)(except_t *) = unhandled_catcher;
|
||||
static void *(*allocator)(size_t) = g_malloc;
|
||||
static void *(*allocator)(size_t) = (void *(*)(size_t)) g_malloc;
|
||||
static void (*deallocator)(void *) = g_free;
|
||||
static struct except_stacknode *stack_top;
|
||||
|
||||
|
|
Loading…
Reference in New Issue