eliminate gcc-4.6.3 warnings on vd.c