Automotive parts supplier Delphi Corp. on Friday posted higher second-quarter earnings, but reportedly warned it could report a loss in the third quarter due to production cuts by major automakers.