From 281b31596bc5fb07ee7feb33ffe8f18cd85a821c Mon Sep 17 00:00:00 2001 From: Manish Singh Date: Fri, 17 Sep 2004 01:15:13 +0000 Subject: [PATCH] Make it take a guint for number of characters, instead of a gsize. Thu Sep 16 18:15:32 2004 Manish Singh * glib/gstrfuncs.c (g_strncasecmp): Make it take a guint for number of characters, instead of a gsize. Technically this is incorrect, but this makes it match the prototype, and this is a deprecated function anyway. --- ChangeLog | 7 +++++++ ChangeLog.pre-2-10 | 7 +++++++ ChangeLog.pre-2-12 | 7 +++++++ ChangeLog.pre-2-6 | 7 +++++++ ChangeLog.pre-2-8 | 7 +++++++ glib/gstrfuncs.c | 2 +- 6 files changed, 36 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index f61b62fa4..6ffc81e00 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +Thu Sep 16 18:15:32 2004 Manish Singh + + * glib/gstrfuncs.c (g_strncasecmp): Make it take a guint for number + of characters, instead of a gsize. Technically this is incorrect, + but this makes it match the prototype, and this is a deprecated + function anyway. + 2004-09-15 Tor Lillqvist * glib/gwin32.c (g_win32_error_message): Convert message to diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index f61b62fa4..6ffc81e00 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,10 @@ +Thu Sep 16 18:15:32 2004 Manish Singh + + * glib/gstrfuncs.c (g_strncasecmp): Make it take a guint for number + of characters, instead of a gsize. Technically this is incorrect, + but this makes it match the prototype, and this is a deprecated + function anyway. + 2004-09-15 Tor Lillqvist * glib/gwin32.c (g_win32_error_message): Convert message to diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index f61b62fa4..6ffc81e00 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,3 +1,10 @@ +Thu Sep 16 18:15:32 2004 Manish Singh + + * glib/gstrfuncs.c (g_strncasecmp): Make it take a guint for number + of characters, instead of a gsize. Technically this is incorrect, + but this makes it match the prototype, and this is a deprecated + function anyway. + 2004-09-15 Tor Lillqvist * glib/gwin32.c (g_win32_error_message): Convert message to diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index f61b62fa4..6ffc81e00 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,10 @@ +Thu Sep 16 18:15:32 2004 Manish Singh + + * glib/gstrfuncs.c (g_strncasecmp): Make it take a guint for number + of characters, instead of a gsize. Technically this is incorrect, + but this makes it match the prototype, and this is a deprecated + function anyway. + 2004-09-15 Tor Lillqvist * glib/gwin32.c (g_win32_error_message): Convert message to diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index f61b62fa4..6ffc81e00 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,10 @@ +Thu Sep 16 18:15:32 2004 Manish Singh + + * glib/gstrfuncs.c (g_strncasecmp): Make it take a guint for number + of characters, instead of a gsize. Technically this is incorrect, + but this makes it match the prototype, and this is a deprecated + function anyway. + 2004-09-15 Tor Lillqvist * glib/gwin32.c (g_win32_error_message): Convert message to diff --git a/glib/gstrfuncs.c b/glib/gstrfuncs.c index e802a8344..48552eb25 100644 --- a/glib/gstrfuncs.c +++ b/glib/gstrfuncs.c @@ -1875,7 +1875,7 @@ g_strcasecmp (const gchar *s1, gint g_strncasecmp (const gchar *s1, const gchar *s2, - gsize n) + guint n) { #ifdef HAVE_STRNCASECMP return strncasecmp (s1, s2, n);