summaryrefslogtreecommitdiffstats
path: root/devel/ossp-cfg/files/patch-cfg_data.c
diff options
context:
space:
mode:
Diffstat (limited to 'devel/ossp-cfg/files/patch-cfg_data.c')
-rw-r--r--devel/ossp-cfg/files/patch-cfg_data.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/ossp-cfg/files/patch-cfg_data.c b/devel/ossp-cfg/files/patch-cfg_data.c
new file mode 100644
index 0000000..815d78e
--- /dev/null
+++ b/devel/ossp-cfg/files/patch-cfg_data.c
@@ -0,0 +1,11 @@
+--- cfg_data.c.orig Sun Jul 28 07:06:02 2002
++++ cfg_data.c Mon Feb 3 15:15:12 2003
+@@ -186,7 +186,7 @@
+ break;
+ }
+ case CFG_DATA_ATTR_CTRL: {
+- cfg_data_cb_t ctrl = (cfg_data_cb_t)va_arg(ap, void (*)(void));
++ cfg_data_cb_t ctrl = (cfg_data_cb_t)va_arg(ap, void *);
+ data->ctrl = ctrl;
+ break;
+ }
OpenPOWER on IntegriCloud