The House on Wednesday took the first step toward ending a standoff with the Senate over highway funding by passing a three-month stopgap bill that will keep money flowing to transportation projects into the fall.

The Senate is expected to take up the bill on Thursday after first passing a separate three-year funding bill, giving the chamber just two days to extend spending authority for road and bridge projects before it expires on July 31.

The House vote was 385 to 34 in favor of what is expected to be the 34th short-term extension of the Highway Trust Fund in the past six years.

The ongoing struggle to reach a deal on transportation funding has in recent weeks exposed Republican infighting over the lack of a long-term plan for a program that supports transportation projects across the country.

House and Senate leaders said Tuesday that they hope the short-term extension will provide the House with enough time to draft its own long-term highway bill so that both chambers can enter formal negotiations in the fall.

“The House wants to produce a long term highway bill,” House Speaker John A. Boehner (R-Ohio) said on Tuesday following a House GOP meeting. “We’ve got work to do, and we’ve got to buy some time to get that work done.”