Skip to content

Commit

Permalink
Merge pull request #36 from magaldima/fix-variants-to-go-xcode-c-pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
NSEcho authored Jun 10, 2024
2 parents 08075cd + 78f6a61 commit 1905e6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frida/variants_to_go.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ static char* read_byte_array(GVariant *variant, int * n_elements)
guint8 * array = NULL;
array = g_variant_get_fixed_array (variant,
(gsize)n_elements,
(gsize *)n_elements,
sizeof(guint8));
return (char*)array;
}
Expand Down

0 comments on commit 1905e6e

Please sign in to comment.