X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fc-strtod.c;h=51e996e5da0246a70f5a62ddd7f9310fd30b5798;hb=5b63b76064a130bdaadb1fda7ab50e82896446e1;hp=9723e0b78879dc4bb4b376a6f82ef697cfddd3d1;hpb=5965a9b1d0011a0340b57e1faa0b8a3f7997c519;p=gnulib.git diff --git a/lib/c-strtod.c b/lib/c-strtod.c index 9723e0b78..51e996e5d 100644 --- a/lib/c-strtod.c +++ b/lib/c-strtod.c @@ -73,7 +73,7 @@ C_STRTOD (char const *nptr, char **endptr) if (!locale) { if (endptr) - *endptr = nptr; + *endptr = (char *) nptr; return 0; /* errno is set here */ } @@ -89,7 +89,7 @@ C_STRTOD (char const *nptr, char **endptr) if (saved_locale == NULL) { if (endptr) - *endptr = nptr; + *endptr = (char *) nptr; return 0; /* errno is set here */ } setlocale (LC_NUMERIC, "C");