diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2009-10-23 19:01:38 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2009-10-23 19:01:38 -0400 |
commit | efaf2668d21f53ada2884157fde91c0b61025fc7 (patch) | |
tree | 89727788c017c0eee7f4997b0b082250100729b9 /src/vteaccess.c | |
parent | ac0722271e2f5e192e7be4000ba2ca7a2388954e (diff) | |
download | vte-efaf2668d21f53ada2884157fde91c0b61025fc7.tar.gz |
Fix even more warnings. We're mostly warning-clean now
Diffstat (limited to 'src/vteaccess.c')
-rw-r--r-- | src/vteaccess.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vteaccess.c b/src/vteaccess.c index b53611ee..3c875535 100644 --- a/src/vteaccess.c +++ b/src/vteaccess.c @@ -1022,7 +1022,7 @@ vte_terminal_accessible_get_text_somewhere(AtkText *text, if (offset >= (int) priv->snapshot_characters->len) { return g_strdup(""); } - g_assert(offset < priv->snapshot_characters->len); + g_assert(offset < (int) priv->snapshot_characters->len); g_assert(offset >= 0); switch (boundary_type) { @@ -1302,7 +1302,7 @@ vte_terminal_accessible_get_character_at_offset(AtkText *text, gint offset) priv = g_object_get_data(G_OBJECT(text), VTE_TERMINAL_ACCESSIBLE_PRIVATE_DATA); - g_assert(offset < priv->snapshot_characters->len); + g_assert(offset < (int) priv->snapshot_characters->len); mapped = g_array_index(priv->snapshot_characters, int, offset); |