widl: Fix calculation of the SLTG library block size.
commitce6fe5d06e92a9ecde0f402038eabf0678e27cde
authorDmitry Timoshkov <dmitry@baikal.ru>
Wed, 24 Apr 2024 12:50:03 +0000 (24 15:50 +0300)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 25 Apr 2024 19:10:27 +0000 (25 21:10 +0200)
tree35da46bbf410cb20135d5de5180e6f7138fb38e9
parent2c05f9d08537fa9c56bb58a48b2b66f4f67b5fb9
widl: Fix calculation of the SLTG library block size.

This patch fixes a regression in comparison with SLTG generator in wine-staging,
and allows oleview.exe from PSDK correctly load SLTG typelib generated by widl.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
tools/widl/write_sltg.c