summaryrefslogtreecommitdiff
path: root/wintable/util.h
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-02-13 16:19:54 -0500
committerPietro Gagliardi <[email protected]>2015-02-13 16:19:54 -0500
commit980e36a0f0eaaab015de74f3b4d8b9a7e806eaf2 (patch)
tree695145ba182dce180b5bd71aeab6f9bf25c042af /wintable/util.h
parent4b9e2fb8d16fb0bd05ca821f2f4cb6a60cd7e0d3 (diff)
Fixed all real warnings. I need to figure out how to remove -Wparentheses suggestions from qo.
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))