Avoid GCC warning about conversion from integer to ptr.
Avoid GCC warning about conversion from integer to ptr.

Add intermediate cast to size_t from int to avoid GCC warning:
cast to pointer from integer of different size .

dcrossleyau/yaz,nla/yaz,nla/yaz,dcrossleyau/yaz,nla/yaz,nla/yaz,dcrossleyau/yaz