silenced an 'unused variable' warning
added a space after (void) when it is used to silence 'unused variable' warnings
replaced all explicit casts to ints of variables of type size_t passed to printf with a more appropriate format specifier (ZU idiom)