[gspell] gssize for string length parameters
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gspell] gssize for string length parameters
- Date: Sun, 22 Nov 2015 17:16:18 +0000 (UTC)
commit 8e705720e3d3762a79e47a156ba5f38c1ca65abe
Author: Sébastien Wilmet <swilmet gnome org>
Date: Sun Nov 22 18:15:13 2015 +0100
gssize for string length parameters
It's a bit better.
gspell/gspell-checker.c | 2 +-
gspell/gspell-checker.h | 2 +-
gspell/gspell-utils.c | 2 +-
gspell/gspell-utils.h | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gspell/gspell-checker.c b/gspell/gspell-checker.c
index d210d54..51508f3 100644
--- a/gspell/gspell-checker.c
+++ b/gspell/gspell-checker.c
@@ -436,7 +436,7 @@ gspell_checker_get_language (GspellChecker *checker)
gboolean
gspell_checker_check_word (GspellChecker *checker,
const gchar *word,
- gint word_length,
+ gssize word_length,
GError **error)
{
GspellCheckerPrivate *priv;
diff --git a/gspell/gspell-checker.h b/gspell/gspell-checker.h
index 73b43a8..1f09047 100644
--- a/gspell/gspell-checker.h
+++ b/gspell/gspell-checker.h
@@ -87,7 +87,7 @@ const GspellLanguage *
gboolean gspell_checker_check_word (GspellChecker *checker,
const gchar *word,
- gint word_length,
+ gssize word_length,
GError **error);
GSList * gspell_checker_get_suggestions (GspellChecker *checker,
diff --git a/gspell/gspell-utils.c b/gspell/gspell-utils.c
index e0ad4a1..73139fa 100644
--- a/gspell/gspell-utils.c
+++ b/gspell/gspell-utils.c
@@ -24,7 +24,7 @@
gboolean
_gspell_utils_is_digit (const gchar *text,
- gint text_length)
+ gssize text_length)
{
const gchar *p;
const gchar *end;
diff --git a/gspell/gspell-utils.h b/gspell/gspell-utils.h
index 7f2bddb..b505312 100644
--- a/gspell/gspell-utils.h
+++ b/gspell/gspell-utils.h
@@ -27,7 +27,7 @@ G_BEGIN_DECLS
G_GNUC_INTERNAL
gboolean _gspell_utils_is_digit (const gchar *text,
- gint text_length);
+ gssize text_length);
G_GNUC_INTERNAL
gboolean _gspell_utils_skip_no_spell_check (GtkTextIter *start,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]