Fix unsigned/enum problem on Win32. r=darin.