Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
felipensp committed Jan 8, 2025
1 parent 7c133d5 commit b8750fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vlib/v/checker/fn.v
Original file line number Diff line number Diff line change
Expand Up @@ -3379,7 +3379,7 @@ fn (mut c Checker) array_builtin_method_call(mut node ast.CallExpr, left_type as
// error: incompatible function pointer types passing
// 'int (string *, string *)' (aka 'int (struct string *, struct string *)')
// to parameter of type 'int (*)(voidptr, voidptr)' (aka 'int (*)(void *, void *)')
arg0.expr = ast.CastExpr{
node.args[0].expr = ast.CastExpr{
expr: arg0.expr
typ: ast.voidptr_type
typname: 'voidptr'
Expand Down

0 comments on commit b8750fc

Please sign in to comment.