aboutsummaryrefslogtreecommitdiff
path: root/interp
diff options
context:
space:
mode:
Diffstat (limited to 'interp')
-rw-r--r--interp/stdarg.ml4
1 files changed, 3 insertions, 1 deletions
diff --git a/interp/stdarg.ml b/interp/stdarg.ml
index e155a5217d..5cfe3854a9 100644
--- a/interp/stdarg.ml
+++ b/interp/stdarg.ml
@@ -15,7 +15,9 @@ let wit_bool : bool uniform_genarg_type =
make0 None "bool"
let wit_int : int uniform_genarg_type =
- make0 None "int"
+ make0 ~dyn:(val_tag (Obj.magic IntOrVarArgType)) None "int"
+(** FIXME: IntOrVarArgType is hardwired, but that definition should be the other
+ way around. *)
let wit_string : string uniform_genarg_type =
make0 None "string"