Fixing some VMI_DEBUG warnings.
Merge pull request #215 from awsaba/debug_warnings

Fixing some VMI_DEBUG compiler warnings.