Device for welding two overlapping film sections situated on a side of a goods stack (1), preferably on the upper side of a goods stack (1), to form a wrapping, where the device exhibits a welding bar (2) with a welding surface (3) oriented in the direction of the film sections to be welded, where the welding bar (2) exhibits a mounting (4, 5) at least in the region of each of its two ends and where for welding of the film sections the spacing between the welding bar (2) and the film sections to be welded is reducible all the way to contact, wherein at least the welding surface (3) of the welding bar (2) is configured as elastically deformable for adjusting the welding surface (3) to a concave course and/or to a convex course of the side of the goods stack (1) between its two ends and that there is assigned to the welding bar (2) between the two mountings (4, 5) at least one displacing device (9), preferably acting at least in the direction of the film sections to be welded, for adjusting the course of the welding surface (3) to a concave and/or to a convex course of the side of the goods stack (1) and that in at least one mounting (4, 5) and/or in at least one displacing device (9) the contact region with which the mounting (4, 5) and/or the displacing device (9) respectively acts on the welding bar (2) is displaceable along the welding bar (2) as seen in the longitudinal extension of the welding bar (2), and that for at least one displacing device (9), preferably for all displacing devices (9), the device comprises a control unit, wherein each displacing device (9) of the welding bar (2) is individually controllable, such that the curvature of the welding bar (2) for the subsequent welding of the overlapping film sections is adjustable to the contour of the side of the goods stack (1) in the region of the film sections to be welded with one another.