eliminate gcc-4.6.3 warnings for vg.c