mirror of
https://github.com/boostorg/python.git
synced 2026-01-24 18:12:43 +00:00
suppress a warning
[SVN r20555]
This commit is contained in:
@@ -317,7 +317,7 @@ namespace objects
|
||||
// like, so we'll store the total size of the object
|
||||
// there. A negative number indicates that the extra
|
||||
// instance memory is not yet allocated to any holders.
|
||||
result->ob_size = -(offsetof(instance<>,storage) + instance_size);
|
||||
result->ob_size = -(static_cast<int>(offsetof(instance<>,storage) + instance_size));
|
||||
}
|
||||
return (PyObject*)result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user