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:
parent
b05c0738d8
commit
d1b7f3993a
|
@ -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; \
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue