numpy/numpy — pull request #3678 by charris (2013-09-04 01:45:00+00:00)
Title: BUG: PyArray_PyIntAsIntp had variable size check wrong way around.

This bug resulted in using a long type when a long long was required,
resulting in numerous errors when numpy was compiled as 64 bits on
64 bit windows.

Needs a backport to 1.8.x.