Consistent use of size_t for casting pointers to integer type.
Need to apply unsigned long cast after % for pedantic errors.
Merge pull request #175 from arstrube/64bit_02

Consistent use of size_t for casting pointers to integer type.