suppress compilation warnings

Cast from pointer to integer of different size.
lines : 1727, 1733, 1739, 1745, 1752