Kaydet (Commit) d1b7f399 authored tarafından Martin v. Löwis's avatar Martin v. Löwis

Silence VS 2010 warning on loss of precision (_int64 -> _int32).

This is safe because the actual value is already range-checked.
üst b05c0738
......@@ -160,7 +160,7 @@ grow_buffer(PyObject **buf)
"Value too large for " #TYPE " type"); \
return 0; \
} \
*(TYPE *)ptr = val; \
*(TYPE *)ptr = (TYPE)val; \
return 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