2
0
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:
Dave Abrahams
2003-10-29 23:16:36 +00:00
parent 7fab3ce0b1
commit ea91f4217a

View File

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