Commit 3095ad06 authored by Michael W. Hudson's avatar Michael W. Hudson

Apparently some compiler gives a warning on

		float y = x;

when x is a double.  Go figure.
parent 3296e696
......@@ -1427,7 +1427,7 @@ _PyFloat_Pack4(double x, unsigned char *p, int le)
return -1;
}
else {
float y = x;
float y = (float)x;
const char *s = (char*)&y;
int i, incr = 1;
......
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