* lib/c-strtod.c (C_STRTOD): Cast nptr to (char *) to avoid
"assignment discards qualifiers from pointer target type" warnings.
+2009-01-25 Jim Meyering <meyering@redhat.com>
+
+ c-strtod: avoid warnings
+ * lib/c-strtod.c (C_STRTOD): Cast nptr to (char *) to avoid
+ "assignment discards qualifiers from pointer target type" warnings.
+
2009-01-24 Bruno Haible <bruno@clisp.org>
Add support for non-UTF-8 locales on MacOS X.
2009-01-24 Bruno Haible <bruno@clisp.org>
Add support for non-UTF-8 locales on MacOS X.
if (!locale)
{
if (endptr)
if (!locale)
{
if (endptr)
+ *endptr = (char *) nptr;
return 0; /* errno is set here */
}
return 0; /* errno is set here */
}
if (saved_locale == NULL)
{
if (endptr)
if (saved_locale == NULL)
{
if (endptr)
+ *endptr = (char *) nptr;
return 0; /* errno is set here */
}
setlocale (LC_NUMERIC, "C");
return 0; /* errno is set here */
}
setlocale (LC_NUMERIC, "C");