[gtksourceview/wip/fix-warnings] completion: fix warnings
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview/wip/fix-warnings] completion: fix warnings
- Date: Sun, 9 Aug 2015 15:04:23 +0000 (UTC)
commit 6db8323d0cb6ed8370424a5fe28623162fb228ed
Author: Sébastien Wilmet <swilmet gnome org>
Date: Sun Aug 9 17:02:40 2015 +0200
completion: fix warnings
gtksourceview/gtksourcecompletion.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtksourceview/gtksourcecompletion.c b/gtksourceview/gtksourcecompletion.c
index e80d9f8..7485157 100644
--- a/gtksourceview/gtksourcecompletion.c
+++ b/gtksourceview/gtksourcecompletion.c
@@ -1155,7 +1155,7 @@ get_accel_at_iter (GtkSourceCompletion *completion,
GtkTreeIter *iter)
{
GtkTreeIter it;
- gint accel;
+ guint accel;
if (gtk_source_completion_model_iter_is_header (completion->priv->model_proposals, iter))
{
@@ -1219,7 +1219,7 @@ activate_by_accelerator (GtkSourceCompletion *completion,
num = num == 0 ? 9 : num - 1;
- if (num < 0 || completion->priv->num_accelerators <= num)
+ if (num < 0 || completion->priv->num_accelerators <= (guint)num)
{
return FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]