Index: base/win/registry.cc |
diff --git a/base/win/registry.cc b/base/win/registry.cc |
index c96f804602afde8c22dcef721ad48a1bc0ea5ffd..3f6a22367d498847c95b793599d855b52210552d 100644 |
--- a/base/win/registry.cc |
+++ b/base/win/registry.cc |
@@ -224,7 +224,7 @@ LONG RegKey::ReadValues(const wchar_t* name, |
DWORD type = REG_MULTI_SZ; |
DWORD size = 0; |
- LONG result = ReadValue(name, NULL, &size, NULL); |
+ LONG result = ReadValue(name, NULL, &size, &type); |
if (FAILED(result) || size == 0) |
return result; |