mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-09 02:46:16 +01:00
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:
parent
f7b48b5c25
commit
e9655c597a
@ -47,7 +47,7 @@ show_nodes (GType type,
|
||||
const gchar *indent)
|
||||
{
|
||||
GType *children;
|
||||
guint i;
|
||||
size_t i;
|
||||
|
||||
if (!type)
|
||||
return;
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user