Fix a crash on big-endian platforms when sizeof(int) != sizeof(long).
Fix a crash on big-endian platforms when sizeof(int) != sizeof(long).

roandbox/jwm,roandbox/jwm,roandbox/jwm,joewing/jwm,joewing/jwm