diff options
author | George Lebl <jirka@5z.com> | 2001-09-29 09:42:20 +0000 |
---|---|---|
committer | George Lebl <jirka@src.gnome.org> | 2001-09-29 09:42:20 +0000 |
commit | 46aae08e8d129d1dc9d3b92463178352460f88b2 (patch) | |
tree | 5bed1a03fe34ce011f016e7a538a67c243d3b0d2 /glib/gstrfuncs.h | |
parent | bafb616c35f1174207d039eaee6580f59fe5ced8 (diff) | |
download | glib-46aae08e8d129d1dc9d3b92463178352460f88b2.tar.gz |
cast the string size to gulong and use %lu for printing to avoid 64bit
Sat Sep 29 02:33:14 2001 George Lebl <jirka@5z.com>
* tests/testglib.c (main): cast the string size to gulong and use %lu
for printing to avoid 64bit issues
* glib/gstrfuncs.[ch] (g_ascii_strncasecmp): Change the 'n' argument
to gsize instead guint.
Diffstat (limited to 'glib/gstrfuncs.h')
-rw-r--r-- | glib/gstrfuncs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glib/gstrfuncs.h b/glib/gstrfuncs.h index 2f5bfbfd4..7aedde134 100644 --- a/glib/gstrfuncs.h +++ b/glib/gstrfuncs.h @@ -129,7 +129,7 @@ gint g_ascii_strcasecmp (const gchar *s1, const gchar *s2); gint g_ascii_strncasecmp (const gchar *s1, const gchar *s2, - guint n); + gsize n); gchar* g_ascii_strdown (const gchar *str, gssize len); gchar* g_ascii_strup (const gchar *str, |