[devhelp/wip/swilmet/fix-warnings] KeywordModel: fix comparison between signed and unsigned int
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devhelp/wip/swilmet/fix-warnings] KeywordModel: fix comparison between signed and unsigned int
- Date: Sun, 27 Nov 2016 11:55:17 +0000 (UTC)
commit 8140a69d3930fbb82683b75bbf9742dbb7722a15
Author: Sébastien Wilmet <swilmet gnome org>
Date: Sun Nov 27 12:44:16 2016 +0100
KeywordModel: fix comparison between signed and unsigned int
src/dh-keyword-model.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/dh-keyword-model.c b/src/dh-keyword-model.c
index f9d3840..7632dba 100644
--- a/src/dh-keyword-model.c
+++ b/src/dh-keyword-model.c
@@ -159,7 +159,7 @@ keyword_model_get_iter (GtkTreeModel *tree_model,
return FALSE;
}
- if (indices[0] >= priv->keywords.length) {
+ if (indices[0] >= (gint)priv->keywords.length) {
return FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]