fix 32 compiler warnings