Fixed size_t cast warning for 64-bit systems
Removed size_t print warnings