add some casting and type changes to reduce picky compiler warnings
add some casting and type changes to reduce picky compiler warnings

seanisom/vtp,nakijun/vtp,nakijun/vtp,nakijun/vtp,markraz/vtp,markraz/vtp,nakijun/vtp,markraz/vtp,markraz/vtp,nakijun/vtp,seanisom/vtp,seanisom/vtp,seanisom/vtp,seanisom/vtp,markraz/vtp