C2782: we hate you sal_Int32 as long on 32bit

Change-Id: I2c8d57f36be15fb4410b11f657e7621022eafa67