mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 23:16:14 +01:00
girffi: Fix signedness of argument in internal helper function
Signed-off-by: Philip Withnall <pwithnall@gnome.org> Helps: #3155
This commit is contained in:
parent
513e178144
commit
5a56518852
@ -171,11 +171,12 @@ gi_type_info_get_ffi_type (GITypeInfo *info)
|
||||
*/
|
||||
static ffi_type **
|
||||
gi_callable_info_get_ffi_arg_types (GICallableInfo *callable_info,
|
||||
int *n_args_p)
|
||||
size_t *n_args_p)
|
||||
{
|
||||
ffi_type **arg_types;
|
||||
gboolean is_method, throws;
|
||||
gint n_args, n_invoke_args, i, offset;
|
||||
size_t n_invoke_args;
|
||||
guint n_args, i, offset;
|
||||
|
||||
g_return_val_if_fail (callable_info != NULL, NULL);
|
||||
|
||||
@ -321,7 +322,7 @@ gi_function_invoker_new_for_address (gpointer addr,
|
||||
GError **error)
|
||||
{
|
||||
ffi_type **atypes;
|
||||
gint n_args;
|
||||
size_t n_args;
|
||||
|
||||
g_return_val_if_fail (info != NULL, FALSE);
|
||||
g_return_val_if_fail (invoker != NULL, FALSE);
|
||||
@ -379,7 +380,7 @@ gi_callable_info_create_closure (GICallableInfo *callable_info,
|
||||
gpointer user_data)
|
||||
{
|
||||
gpointer exec_ptr;
|
||||
int n_args;
|
||||
size_t n_args;
|
||||
ffi_type **atypes;
|
||||
GIClosureWrapper *closure;
|
||||
ffi_status status;
|
||||
|
Loading…
Reference in New Issue
Block a user