Improved CodeView type information loader.

This commit is contained in:
Ulrich Weigand 2000-04-25 19:53:49 +00:00 committed by Alexandre Julliard
parent cc6d2f90bc
commit 164bac9292
2 changed files with 845 additions and 524 deletions

File diff suppressed because it is too large Load Diff

View File

@ -632,7 +632,7 @@ DEBUG_AddStructElement(struct datatype * dt, char * name, struct datatype * type
* If the base type is bitfield, then adjust the offsets here so that we
* are able to look things up without lots of falter-all.
*/
if( type->type == DT_BITFIELD )
if( type && type->type == DT_BITFIELD )
{
m->offset += m->type->un.bitfield.bitoff;
m->size = m->type->un.bitfield.nbits;