32bit warnings fixed