The solution is as follows:
1. The lattice of CsCl has 8:8 coordination number.
2. When heated, the ions gain energy and start losing their compactness. This makes the coordination number drop to 6:6.
3. This makes CsCl lattice as NaCl type lattice on heating.