diff options
author | Michael Natterer <mitch@imendio.com> | 2008-08-28 14:47:56 +0000 |
---|---|---|
committer | Michael Natterer <mitch@src.gnome.org> | 2008-08-28 14:47:56 +0000 |
commit | 13fe35b66da3519714bf8f878daeea027fd6394a (patch) | |
tree | 87cc439967560c26dfdf76432685aca0da92bd22 /ChangeLog | |
parent | f84518e35b81f39c075df3563d86e494af836778 (diff) |
make "endptr" const since it's always a pointer into the const string
2008-08-28 Michael Natterer <mitch@imendio.com>
* glib/gstrfuncs.c (g_parse_long_long): make "endptr" const since
it's always a pointer into the const string passed. Remove some
casting to (gchar*) in this function.
(g_ascii_strtoull)
(g_ascii_strtoll): cast "endptr" to (const gchar**) here when
passing it to above function.
svn path=/trunk/; revision=7410
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -1,3 +1,13 @@ +2008-08-28 Michael Natterer <mitch@imendio.com> + + * glib/gstrfuncs.c (g_parse_long_long): make "endptr" const since + it's always a pointer into the const string passed. Remove some + casting to (gchar*) in this function. + + (g_ascii_strtoull) + (g_ascii_strtoll): cast "endptr" to (const gchar**) here when + passing it to above function. + 2008-08-28 Bastien Nocera <hadess@hadess.net> Bug 548612 – g_strstr_len() should use memmem when available |