Commit 164bac92 authored by Ulrich Weigand's avatar Ulrich Weigand Committed by Alexandre Julliard

Improved CodeView type information loader.

parent cc6d2f90
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment