340 intake on 318

Hi,
Im going to be changing out my 2 barrel carb and intake to a 4 barrel carb and 340 intake. Just wondering should I use a 340 intake gasket or the 318 intake gasket kit? Will it matter?