NPY_INT should be used instead of NPY_LONG