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; };