Fixed some string format specifiers (long int vs int)