Starlin Castro's ninth-inning double off the center-field wall gave the Chicago Cubs a 4-3 win Friday over the San Francisco Giants.