From 3232b47b436fe827de4c456e8cee20290a09bbf3 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Fri, 5 Dec 2014 22:23:39 -0500 Subject: Readded main code (but stripped to its essentials for now, as everything will be slowly readded, but in a different order) and fixed compilation errors (and some warnings). --- wintable/new/util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wintable/new/util.h') diff --git a/wintable/new/util.h b/wintable/new/util.h index c6cbfb3..2bcfd94 100644 --- a/wintable/new/util.h +++ b/wintable/new/util.h @@ -3,7 +3,7 @@ typedef BOOL (*handlerfunc)(struct table *, UINT, WPARAM, LPARAM, LRESULT *); #define HANDLER(name) static BOOL name(struct table *t, UINT uMsg, WPARAM wParam, LPARAM lParam, LRESULT *lResult) -static BOOL runHandlers(handlerfunc *list, struct table *t, UINT uMsg, WPARAM wParam, LPARAM lParam, LRESULT *lResult) +static BOOL runHandlers(const handlerfunc list[], struct table *t, UINT uMsg, WPARAM wParam, LPARAM lParam, LRESULT *lResult) { handlerfunc *p; -- cgit v1.2.3