@ -63,12 +63,14 @@ class memory_info::Private
// storage for class and multiclass
vector<t_class *> classes;
//vector<vector<t_type> > classsubtypes;
// cache for faster name lookup, indexed by classID
vector<string> classnames;
// index for the next added class
uint32_t classindex;
int32_t base;
string version;
OSType OS;
};
@ -54,7 +54,7 @@ namespace DFHack
vtable = old.vtable;
assign = old.assign;
type_offset = old.type_offset;
for(int i = 0; i < old.subs.size();i++)
for(uint32_t i = 0; i < old.subs.size();i++)
{
t_type * t = new t_type (*old.subs[i]);
subs.push_back(t);