get rid of type punning warnings.

git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1873 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
vsc
2007-05-02 11:01:41 +00:00
parent b15193885e
commit d79a6f8dcf
2 changed files with 76 additions and 67 deletions

View File

@@ -67,13 +67,19 @@ typedef struct {
/* switch_on_cons */
typedef struct {
Term Tag;
UInt Label;
union {
UInt Label;
yamop *labp;
} u;
} AtomSwiEntry;
/* switch_on_func */
typedef struct {
Functor Tag;
UInt Label;
union {
UInt Label;
yamop *labp;
} u;
} FuncSwiEntry;
/* switch_on_type */