mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-30 00:47:12 +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 {
|
struct field_descriptor {
|
||||||
const char *name;
|
const char *name;
|
||||||
int offset;
|
size_t offset;
|
||||||
object descr;
|
object descr;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user