Put OpenMP loop into pragma to avoid warnings.
Fixed warning for type conversion.

Fixed warning for the type conversion time_t to unsigned int.
Fixed warning concerning a missing break.
Fixed warnings for signed/unsigned comparison.
Fixed Windows warning signed/unsigned comparison.

Fixed Windows warning signed/unsigned comparison for OpenMP loop type.