dbghelp: MSC fixes.

- wrong cut & paste across versions of a given record type
- wrong definition for register_v2
This commit is contained in:
Eric Pouech 2006-03-18 13:33:20 +01:00 committed by Alexandre Julliard
parent 7eefc9eb0d
commit 12eb665402
2 changed files with 2 additions and 2 deletions

View File

@ -629,7 +629,7 @@ static int codeview_add_type_struct_field_list(struct codeview_type_parse* ctp,
leaf_len = numeric_leaf(&value, &type->member_v3.offset);
c_name = (const char*)&type->member_v3.offset + leaf_len;
codeview_add_udt_element(ctp, symt, c_name, value, type->member_v2.type);
codeview_add_udt_element(ctp, symt, c_name, value, type->member_v3.type);
ptr += 2 + 2 + 4 + leaf_len + (strlen(c_name) + 1);
break;

View File

@ -1000,7 +1000,7 @@ union codeview_symbol
short int len; /* Total length of this entry */
short int id; /* Always S_REGISTER_V2 */
unsigned int type; /* check whether type & reg are correct */
unsigned int reg;
unsigned short reg;
struct p_string p_name;
/* don't handle register tracking */
} register_v2;