scipy/scipy — pull request #4143 by juliantaylor (2014-11-13 14:18:40+00:00)
Title: BUG: fix ndimage functions for large data

map_coordinates uses int to index into data arrays which can overflow
for arrays of several gigabytes size. Patch by @cgohlke.
some other occurances of int replaced by npy_intp for safety.
Closes gh-3733

rebased onto 0.14 merge base so it can be directly merged into master and 0.14