aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Execution/Val.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Execution/Val.php')
-rw-r--r--src/Execution/Val.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Execution/Val.php b/src/Execution/Val.php
index 0f9ce42..1746cae 100644
--- a/src/Execution/Val.php
+++ b/src/Execution/Val.php
@@ -55,12 +55,12 @@ abstract readonly class Val
return self::Ref(Ref::RefNull($type));
}
- final public static function RefFunc(FuncAddr $addr): Vals\Ref
+ final public static function RefFunc(int $addr): Vals\Ref
{
return self::Ref(Ref::RefFunc($addr));
}
- final public static function RefExtern(ExternAddr $addr): Vals\Ref
+ final public static function RefExtern(int $addr): Vals\Ref
{
return self::Ref(Ref::RefExtern($addr));
}