Fixed warnings about data types.