Added a few more comments. Changed rt_hash to return an enum record_type rather than an enum record_type_hash. Modified rfs and rfs_refr to suit.
This commit is contained in:
@@ -261,7 +261,7 @@ char *walk_concat(char *data, size_t size, struct walker_callbacks cb) {
|
||||
const Type4 *type = (Type4 *)data;
|
||||
|
||||
// check valid type
|
||||
assert(rt[rth2rt[rt_hash(type->uint)]] == type->uint);
|
||||
assert(rt[rt_hash(type->uint)] == type->uint);
|
||||
|
||||
// only need to distinguish between groups and records
|
||||
if (type->uint == rt[GRUP])
|
||||
|
||||
Reference in New Issue
Block a user