From eeb4c043f9b9fbc9a270910101ed2f45d823533b Mon Sep 17 00:00:00 2001 From: Ivan Smirnov Date: Sun, 3 Jul 2016 10:22:10 +0100 Subject: [PATCH] Change field descriptor offset type to size_t --- include/pybind11/numpy.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/pybind11/numpy.h b/include/pybind11/numpy.h index 2d1082f8..1046cd43 100644 --- a/include/pybind11/numpy.h +++ b/include/pybind11/numpy.h @@ -232,7 +232,7 @@ DECL_FMT(std::complex, NPY_CDOUBLE_, "complex128"); struct field_descriptor { const char *name; - int offset; + size_t offset; object descr; };