From d87e46ca2d9b689032ca4434ba8dd3f66cdfd1b0 Mon Sep 17 00:00:00 2001 From: Josh Ferrell Date: Mon, 9 Jan 2023 18:14:23 -0500 Subject: Fix type hint for Function.set_call_reg_stack_adjustment --- python/function.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/function.py') diff --git a/python/function.py b/python/function.py index 99e57f86..dcd07839 100644 --- a/python/function.py +++ b/python/function.py @@ -2941,7 +2941,7 @@ class Function: def set_call_reg_stack_adjustment( self, addr: int, adjust: Mapping['architecture.RegisterStackName', - 'types.RegisterStackAdjustmentWithConfidence'], + Union[int, 'types.RegisterStackAdjustmentWithConfidence']], arch: Optional['architecture.Architecture'] = None ) -> None: if arch is None: -- cgit v1.3.1