Fix gcc4 warning (thx to Herve)

svn path=/trunk/; revision=24566
This commit is contained in:
Thomas Bluemel 2006-10-18 21:35:18 +00:00
parent c9ba938610
commit cc6eeaab94

View file

@ -1181,7 +1181,7 @@ void* MSVCRT___RTDynamicCast(type_info *cppobj, int unknown,
{
int count = 0;
const rtti_object_hierachy *obj_bases = obj_locator->type_hierachy;
const rtti_base_descriptor **base_desc = obj_bases->base_classes->bases;
const rtti_base_descriptor* const *base_desc = obj_bases->base_classes->bases;
int src_offset = obj_locator->base_class_offset, dst_offset = -1;
while (count < obj_bases->array_len)