Fix some compiler warning.