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

This is safe because the actual value is already range-checked.
This commit is contained in:
Martin v. Löwis 2012-05-15 14:06:21 +02:00
parent b05c0738d8
commit d1b7f3993a
1 changed files with 1 additions and 1 deletions

View File

@ -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; \
}