Skip to content

Commit b5a3494

Browse files
committed
Fix typo in get_or_create_ptr_from_arg
1 parent be62972 commit b5a3494

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pythonbpf/helper/helper_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def get_or_create_ptr_from_arg(
102102
# Stack space is already allocated
103103
ptr = get_var_ptr_from_name(arg.id, local_sym_tab)
104104
elif isinstance(arg, ast.Constant) and isinstance(arg.value, int):
105-
int_width = 64 # Deafult to i64
105+
int_width = 64 # Default to i64
106106
if expected_type and isinstance(expected_type, ir.IntType):
107107
int_width = expected_type.width
108108
ptr = create_int_constant_ptr(arg.value, builder, local_sym_tab, int_width)

0 commit comments

Comments
 (0)