Bug 1218315 - Use L"..." instead of MOZ_UTF16(...) for MSVS2015. r=nfroyd

This commit is contained in:
Makoto Kato 2015-10-28 22:36:40 +09:00
parent ce836868f3
commit e5153e1c2b

View File

@ -191,7 +191,7 @@ nsresult GetInstallYear(uint32_t& aYear)
time_t raw_time = 0;
DWORD time_size = sizeof(time_t);
status = RegQueryValueExW(hKey, MOZ_UTF16("InstallDate"),
status = RegQueryValueExW(hKey, L"InstallDate",
nullptr, &type, (LPBYTE)&raw_time, &time_size);
if (status != ERROR_SUCCESS) {