Add va_list test case
Use correct type for va_list
Merge pull request #3568 from yebblies/valisttype

Use correct type for va_list