fixed test_detail.c for VS2012
7 files changed