mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-16 09:16:15 +01:00
Merge branch 'fix_more_warnings' into 'master'
Fix more warnings See merge request GNOME/glib!1818
This commit is contained in:
commit
bb3f366101
@ -631,7 +631,7 @@ scan_for_newline (GDataInputStream *stream,
|
||||
GDataInputStreamPrivate *priv;
|
||||
const char *buffer;
|
||||
gsize start, end, peeked;
|
||||
int i;
|
||||
gsize i;
|
||||
gssize found_pos;
|
||||
int newline_len;
|
||||
gsize available, checked;
|
||||
@ -861,7 +861,7 @@ scan_for_chars (GDataInputStream *stream,
|
||||
GBufferedInputStream *bstream;
|
||||
const char *buffer;
|
||||
gsize start, end, peeked;
|
||||
int i;
|
||||
gsize i;
|
||||
gsize available, checked;
|
||||
const char *stop_char;
|
||||
const char *stop_end;
|
||||
|
@ -318,7 +318,7 @@ static void
|
||||
g_file_info_finalize (GObject *object)
|
||||
{
|
||||
GFileInfo *info;
|
||||
int i;
|
||||
guint i;
|
||||
GFileAttribute *attrs;
|
||||
|
||||
info = G_FILE_INFO (object);
|
||||
|
@ -269,7 +269,7 @@ g_list_store_insert (GListStore *store,
|
||||
|
||||
g_return_if_fail (G_IS_LIST_STORE (store));
|
||||
g_return_if_fail (g_type_is_a (G_OBJECT_TYPE (item), store->item_type));
|
||||
g_return_if_fail (position <= g_sequence_get_length (store->items));
|
||||
g_return_if_fail (position <= (guint) g_sequence_get_length (store->items));
|
||||
|
||||
it = g_sequence_get_iter_at_pos (store->items, position);
|
||||
g_sequence_insert_before (it, g_object_ref (item));
|
||||
@ -477,7 +477,7 @@ g_list_store_splice (GListStore *store,
|
||||
|
||||
if (n_additions)
|
||||
{
|
||||
gint i;
|
||||
guint i;
|
||||
|
||||
for (i = 0; i < n_additions; i++)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user