Add proper type cast.

Thanks to Martin for reporting this.

svn path=/trunk/; revision=29451
This commit is contained in:
Kovarththanan Rajaratnam 2009-08-17 04:23:47 +00:00
parent 5b88477401
commit e4e9b91275
1 changed files with 1 additions and 1 deletions

View File

@ -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;