Fixed compiler warnings.