Be sure to check unions because their fields can change size between the ILP32 and the LP64 data-type models.
typedef union { double _d; long _l[2]; } llx_t;
Here is the modified version
typedef union { double _d; int _l[2]; } llx_t;