fix 32bit warnings