mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-11 08:03:55 +00:00
Change field descriptor offset type to size_t
This commit is contained in:
parent
511401599c
commit
eeb4c043f9
@ -232,7 +232,7 @@ DECL_FMT(std::complex<double>, NPY_CDOUBLE_, "complex128");
|
||||
|
||||
struct field_descriptor {
|
||||
const char *name;
|
||||
int offset;
|
||||
size_t offset;
|
||||
object descr;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user