Fixed some compiler warnings mentioned by a customer.