Adapt to int/sal_Int32 mismatch on 32-bit build

Change-Id: Ifef81d53bee4241be3c0dd6b7ddb2c1bbf419b5e
WaE: Unreferenced function definition [loplugin:unreffun]

Change-Id: I0a09b968651a5b98fae47d59c6a5e9b81468ae95