girepository: Use expected signed types for iterating

We are using various indexes types, but not always using the correct
sign or size, so let's adapt this to ensure we're consistent with the
values we're comparing with.
This commit is contained in:
Marco Trevisan (Treviño)
2024-01-16 01:57:09 +01:00
parent 91a3399027
commit 25ae968fc2
10 changed files with 35 additions and 37 deletions

View File

@@ -233,10 +233,10 @@ void gi_type_info_init (GIBaseInfo *info,
GIFunctionInfo * gi_base_info_find_method (GIBaseInfo *base,
uint32_t offset,
unsigned n_methods,
uint16_t n_methods,
const char *name);
GIVFuncInfo * gi_base_info_find_vfunc (GIRealInfo *rinfo,
uint32_t offset,
unsigned n_vfuncs,
uint16_t n_vfuncs,
const char *name);