Minor fix to switch/case

nVersion is a char, so case expects one. Fix it.