Kaydet (Commit) 80181e2b authored tarafından Georg Brandl's avatar Georg Brandl

Fix compiler warning.

üst b569ee48
...@@ -105,7 +105,7 @@ PyOS_ascii_strtod(const char *nptr, char **endptr) ...@@ -105,7 +105,7 @@ PyOS_ascii_strtod(const char *nptr, char **endptr)
copy = (char *)PyMem_MALLOC(end - nptr + 1 + decimal_point_len); copy = (char *)PyMem_MALLOC(end - nptr + 1 + decimal_point_len);
if (copy == NULL) { if (copy == NULL) {
if (endptr) if (endptr)
*endptr = nptr; *endptr = (char *)nptr;
errno = ENOMEM; errno = ENOMEM;
return val; return val;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment