Corrected incompatible pointer and format specifier warnings.