From e969875d6f24845d1ea12a1e71eed1e1118cb792 Mon Sep 17 00:00:00 2001 From: Peter LaFosse Date: Fri, 14 Jan 2022 09:59:38 -0500 Subject: Fix FunctionBuilder.create --- python/types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python') diff --git a/python/types.py b/python/types.py index b88b2022..5c2b448e 100644 --- a/python/types.py +++ b/python/types.py @@ -855,7 +855,7 @@ class FunctionBuilder(TypeBuilder): @classmethod def create(cls, return_type:SomeType, calling_convention:Optional['callingconvention.CallingConvention']=None, params:ParamsType=[], var_args:BoolWithConfidenceType=False, - stack_adjust:SizeWithConfidenceType=0, platform:'_platform.Platform'=None, + stack_adjust:OffsetWithConfidenceType=0, platform:'_platform.Platform'=None, confidence:int=core.max_confidence) -> 'FunctionBuilder': param_buf = FunctionBuilder._to_core_struct(params) ret_conf = return_type._to_core_struct() -- cgit v1.3.1