diff --git a/girepository/givfuncinfo.c b/girepository/givfuncinfo.c index b581c1782..4c4b0d315 100644 --- a/girepository/givfuncinfo.c +++ b/girepository/givfuncinfo.c @@ -120,7 +120,7 @@ gi_vfunc_info_get_flags (GIVFuncInfo *info) * Returns: the struct offset or `0xFFFF` if it’s unknown * Since: 2.80 */ -gint +guint gi_vfunc_info_get_offset (GIVFuncInfo *info) { GIRealInfo *rinfo = (GIRealInfo *)info; @@ -336,9 +336,9 @@ gboolean gi_vfunc_info_invoke (GIVFuncInfo *info, GType implementor, const GIArgument *in_args, - int n_in_args, + gsize n_in_args, const GIArgument *out_args, - int n_out_args, + gsize n_out_args, GIArgument *return_value, GError **error) { diff --git a/girepository/givfuncinfo.h b/girepository/givfuncinfo.h index 598064e96..f5bcc2d58 100644 --- a/girepository/givfuncinfo.h +++ b/girepository/givfuncinfo.h @@ -47,7 +47,7 @@ GI_AVAILABLE_IN_ALL GIVFuncInfoFlags gi_vfunc_info_get_flags (GIVFuncInfo *info); GI_AVAILABLE_IN_ALL -gint gi_vfunc_info_get_offset (GIVFuncInfo *info); +guint gi_vfunc_info_get_offset (GIVFuncInfo *info); GI_AVAILABLE_IN_ALL GISignalInfo * gi_vfunc_info_get_signal (GIVFuncInfo *info); @@ -64,9 +64,9 @@ GI_AVAILABLE_IN_ALL gboolean gi_vfunc_info_invoke (GIVFuncInfo *info, GType implementor, const GIArgument *in_args, - int n_in_args, + gsize n_in_args, const GIArgument *out_args, - int n_out_args, + gsize n_out_args, GIArgument *return_value, GError **error);