make "endptr" const since it's always a pointer into the const string
authorMichael Natterer <mitch@imendio.com>
Thu, 28 Aug 2008 14:47:56 +0000 (14:47 +0000)
committerMichael Natterer <mitch@src.gnome.org>
Thu, 28 Aug 2008 14:47:56 +0000 (14:47 +0000)
commit13fe35b66da3519714bf8f878daeea027fd6394a
tree87cc439967560c26dfdf76432685aca0da92bd22
parentf84518e35b81f39c075df3563d86e494af836778
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
ChangeLog
glib/gstrfuncs.c