gobject: Fix various implicit conversions from size_t to smaller types

Basically various trivial instances of the following MSVC compiler
warning:
```
../gio/gio-tool-set.c(50): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
```

Signed-off-by: Philip Withnall <pwithnall@gnome.org>
This commit is contained in:
Philip Withnall 2024-04-25 00:54:52 +01:00
parent f7b48b5c25
commit e9655c597a
No known key found for this signature in database
GPG Key ID: DCDF5885B1F3ED73
2 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ show_nodes (GType type,
const gchar *indent)
{
GType *children;
guint i;
size_t i;
if (!type)
return;

View File

@ -1073,7 +1073,7 @@ type_data_make_W (TypeNode *node,
{
TypeData *data;
GTypeValueTable *vtable = NULL;
guint vtable_size = 0;
size_t vtable_size = 0;
g_assert (node->data == NULL && info != NULL);