Previously they would be swapped a byte at a time when sizeof(int) != sizeof(long). Idea from FreeBSD.