A driver whose passenger died when he drove drunk and smashed his pickup truck into the second floor of a Warren County home was sentenced Friday to 40 years in state prison, officials said.