From 9d3f6abacb11b9c5ac646b1bb8de8b3031e4e46e Mon Sep 17 00:00:00 2001 From: Daniel Elstner Date: Wed, 20 Feb 2002 16:44:56 +0000 Subject: [PATCH] Use gssize instead of gsize as type of the pos and len arguments. (#71964) 2002-02-20 Daniel Elstner * glib/gstring.[ch] (g_string_erase): Use gssize instead of gsize as type of the pos and len arguments. (#71964) --- ChangeLog | 5 +++++ ChangeLog.pre-2-0 | 5 +++++ ChangeLog.pre-2-10 | 5 +++++ ChangeLog.pre-2-12 | 5 +++++ ChangeLog.pre-2-2 | 5 +++++ ChangeLog.pre-2-4 | 5 +++++ ChangeLog.pre-2-6 | 5 +++++ ChangeLog.pre-2-8 | 5 +++++ glib/gstring.c | 4 ++-- glib/gstring.h | 4 ++-- 10 files changed, 44 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 17eba6e1..8a78b0d1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-02-20 Daniel Elstner + + * glib/gstring.[ch] (g_string_erase): Use gssize instead of + gsize as type of the pos and len arguments. (#71964) + 2002-02-20 Simos Xenitellis * configure.in: Added el to ALL_LINGUAS (Greek language). diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index 17eba6e1..8a78b0d1 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,8 @@ +2002-02-20 Daniel Elstner + + * glib/gstring.[ch] (g_string_erase): Use gssize instead of + gsize as type of the pos and len arguments. (#71964) + 2002-02-20 Simos Xenitellis * configure.in: Added el to ALL_LINGUAS (Greek language). diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 17eba6e1..8a78b0d1 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +2002-02-20 Daniel Elstner + + * glib/gstring.[ch] (g_string_erase): Use gssize instead of + gsize as type of the pos and len arguments. (#71964) + 2002-02-20 Simos Xenitellis * configure.in: Added el to ALL_LINGUAS (Greek language). diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index 17eba6e1..8a78b0d1 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,3 +1,8 @@ +2002-02-20 Daniel Elstner + + * glib/gstring.[ch] (g_string_erase): Use gssize instead of + gsize as type of the pos and len arguments. (#71964) + 2002-02-20 Simos Xenitellis * configure.in: Added el to ALL_LINGUAS (Greek language). diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 17eba6e1..8a78b0d1 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,8 @@ +2002-02-20 Daniel Elstner + + * glib/gstring.[ch] (g_string_erase): Use gssize instead of + gsize as type of the pos and len arguments. (#71964) + 2002-02-20 Simos Xenitellis * configure.in: Added el to ALL_LINGUAS (Greek language). diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 17eba6e1..8a78b0d1 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,8 @@ +2002-02-20 Daniel Elstner + + * glib/gstring.[ch] (g_string_erase): Use gssize instead of + gsize as type of the pos and len arguments. (#71964) + 2002-02-20 Simos Xenitellis * configure.in: Added el to ALL_LINGUAS (Greek language). diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 17eba6e1..8a78b0d1 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +2002-02-20 Daniel Elstner + + * glib/gstring.[ch] (g_string_erase): Use gssize instead of + gsize as type of the pos and len arguments. (#71964) + 2002-02-20 Simos Xenitellis * configure.in: Added el to ALL_LINGUAS (Greek language). diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 17eba6e1..8a78b0d1 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +2002-02-20 Daniel Elstner + + * glib/gstring.[ch] (g_string_erase): Use gssize instead of + gsize as type of the pos and len arguments. (#71964) + 2002-02-20 Simos Xenitellis * configure.in: Added el to ALL_LINGUAS (Greek language). diff --git a/glib/gstring.c b/glib/gstring.c index 6a8f0aa5..817140e2 100644 --- a/glib/gstring.c +++ b/glib/gstring.c @@ -585,8 +585,8 @@ g_string_insert_unichar (GString *string, GString* g_string_erase (GString *string, - gsize pos, - gsize len) + gssize pos, + gssize len) { g_return_val_if_fail (string != NULL, NULL); g_return_val_if_fail (pos >= 0, string); diff --git a/glib/gstring.h b/glib/gstring.h index 6b3bb5f9..a9127b3d 100644 --- a/glib/gstring.h +++ b/glib/gstring.h @@ -101,8 +101,8 @@ GString* g_string_insert_unichar (GString *string, gssize pos, gunichar wc); GString* g_string_erase (GString *string, - gsize pos, - gsize len); + gssize pos, + gssize len); GString* g_string_ascii_down (GString *string); GString* g_string_ascii_up (GString *string); void g_string_printf (GString *string, -- 2.34.1