Solaris 64-bit Developer's Guide

Check Unions

Be sure to check unions because their fields might have changed sizes between ILP32 and LP64. For example,

typedef union {
       double   _d;
       long _l[2];
} llx_t;

should be:

typedef union {
       double _d;
       int _l[2];
} llx_t;