about summary refs log tree commit diff
path: root/Src/module.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/module.c')
-rw-r--r--Src/module.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/Src/module.c b/Src/module.c
index 3e1c0b177..4510d3037 100644
--- a/Src/module.c
+++ b/Src/module.c
@@ -1894,9 +1894,7 @@ addparamdef(Paramdef d)
 
     pm->level = 0;
     pm->u.data = d->var;
-    pm->sets.ifn = (void (*)(Param, zlong)) d->set;
-    pm->gets.ifn = (zlong (*)(Param)) d->get;
-    pm->unsetfn = (void (*)(Param, int)) d->unset;
+    pm->gsu.i = (GsuInteger) d->gsu;
 
     return 0;
 }