summaryrefslogtreecommitdiff
path: root/wintable/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'wintable/util.h')
-rw-r--r--wintable/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/wintable/util.h b/wintable/util.h
index 4dd73d6..164ca72 100644
--- a/wintable/util.h
+++ b/wintable/util.h
@@ -5,7 +5,7 @@ typedef BOOL (*handlerfunc)(struct table *, UINT, WPARAM, LPARAM, LRESULT *);
static BOOL runHandlers(const handlerfunc list[], struct table *t, UINT uMsg, WPARAM wParam, LPARAM lParam, LRESULT *lResult)
{
- handlerfunc *p;
+ const handlerfunc *p;
for (p = list; *p != NULL; p++)
if ((*(*p))(t, uMsg, wParam, lParam, lResult))