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