Fix for prevent gcc warnings.