Fix compiler warning.
diff --git a/Python/pystrtod.c b/Python/pystrtod.c
index 53d6325..e1c84ea 100644
--- a/Python/pystrtod.c
+++ b/Python/pystrtod.c
@@ -105,7 +105,7 @@
 		copy = (char *)PyMem_MALLOC(end - nptr + 1 + decimal_point_len);
 		if (copy == NULL) {
 			if (endptr)
-				*endptr = nptr;
+				*endptr = (char *)nptr;
 			errno = ENOMEM;
 			return val;
 		}