32bit: fix some compiler warnings