mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-07 02:59:39 +02:00
Make it take a guint for number of characters, instead of a gsize.
Thu Sep 16 18:15:32 2004 Manish Singh <yosh@gimp.org> * 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.
This commit is contained in:
parent
bafa120436
commit
281b31596b
@ -1,3 +1,10 @@
|
|||||||
|
Thu Sep 16 18:15:32 2004 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
|
* 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 <tml@iki.fi>
|
2004-09-15 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* glib/gwin32.c (g_win32_error_message): Convert message to
|
* glib/gwin32.c (g_win32_error_message): Convert message to
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
Thu Sep 16 18:15:32 2004 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
|
* 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 <tml@iki.fi>
|
2004-09-15 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* glib/gwin32.c (g_win32_error_message): Convert message to
|
* glib/gwin32.c (g_win32_error_message): Convert message to
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
Thu Sep 16 18:15:32 2004 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
|
* 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 <tml@iki.fi>
|
2004-09-15 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* glib/gwin32.c (g_win32_error_message): Convert message to
|
* glib/gwin32.c (g_win32_error_message): Convert message to
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
Thu Sep 16 18:15:32 2004 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
|
* 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 <tml@iki.fi>
|
2004-09-15 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* glib/gwin32.c (g_win32_error_message): Convert message to
|
* glib/gwin32.c (g_win32_error_message): Convert message to
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
Thu Sep 16 18:15:32 2004 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
|
* 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 <tml@iki.fi>
|
2004-09-15 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* glib/gwin32.c (g_win32_error_message): Convert message to
|
* glib/gwin32.c (g_win32_error_message): Convert message to
|
||||||
|
@ -1875,7 +1875,7 @@ g_strcasecmp (const gchar *s1,
|
|||||||
gint
|
gint
|
||||||
g_strncasecmp (const gchar *s1,
|
g_strncasecmp (const gchar *s1,
|
||||||
const gchar *s2,
|
const gchar *s2,
|
||||||
gsize n)
|
guint n)
|
||||||
{
|
{
|
||||||
#ifdef HAVE_STRNCASECMP
|
#ifdef HAVE_STRNCASECMP
|
||||||
return strncasecmp (s1, s2, n);
|
return strncasecmp (s1, s2, n);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user