Fixed seg-fault problem with type field.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@955 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Dave Beazley 2000-12-03 03:30:43 +00:00
commit 5576688311

View file

@ -94,7 +94,7 @@ typedef struct DohObjInfo {
typedef struct {
void *data; /* Data pointer */
int type : 4; /* Object type (max 16 -- deal with it) */
unsigned int type : 4; /* Object type (max 16 -- deal with it) */
int flag_intern : 1; /* Interned object */
int flag_marked : 1; /* Mark flag. Used to avoid recursive loops in places */
int flag_user : 1; /* User flag */