Changes from mercurial repository.

This commit is contained in:
Sorin Sbarnea 2009-10-21 16:25:08 +00:00
parent 44bb32f476
commit 98c68897d8
135 changed files with 2686 additions and 26965 deletions

View file

@ -252,7 +252,7 @@ CArchMiscWindows::setValue(HKEY key,
assert(name != NULL);
RegSetValueEx(key, name, 0, REG_SZ,
reinterpret_cast<const BYTE*>(value.c_str()),
value.size() + 1);
(DWORD)value.size() + 1);
}
void
@ -273,7 +273,7 @@ CArchMiscWindows::setValueBinary(HKEY key,
assert(name != NULL);
RegSetValueEx(key, name, 0, REG_BINARY,
reinterpret_cast<const BYTE*>(value.data()),
value.size());
(DWORD)value.size());
}
std::string