X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fc-strtod.c;fp=lib%2Fc-strtod.c;h=51e996e5da0246a70f5a62ddd7f9310fd30b5798;hb=f6d751259a21cbc6d4a95ea0fe454df2bfcca59d;hp=9723e0b78879dc4bb4b376a6f82ef697cfddd3d1;hpb=30f9040a089a530b4981b9b4e72448e1b2888557;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");