Fixed warnings for 'pedantic' option.