Mercurial > ecos-v2_0-branch
changeset 541:ea8eda51bc88
* standalone/wxwin/configtool.cpp: Use correct data type in call
to RegCreateKeyEx() to eliminate compiler warning.
| author | jld |
|---|---|
| date | Sat, 25 Jan 2003 23:58:59 +0000 |
| parents | 9034ec3868e5 |
| children | 2cb18c83f75c |
| files | host/tools/configtool/ChangeLog host/tools/configtool/standalone/wxwin/configtool.cpp |
| diffstat | 2 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/host/tools/configtool/ChangeLog +++ b/host/tools/configtool/ChangeLog @@ -1,5 +1,8 @@ 2003-01-25 John Dallaway <jld@ecoscentric.com> + * standalone/wxwin/configtool.cpp: Use correct data type in call + to RegCreateKeyEx() to eliminate compiler warning. + * standalone/wxwin/ecpch.h: #include <winsock2.h> early for Cygwin builds to eliminate fd_set compiler warning
--- a/host/tools/configtool/standalone/wxwin/configtool.cpp +++ b/host/tools/configtool/standalone/wxwin/configtool.cpp @@ -909,7 +909,7 @@ bool ecApp::Launch(const wxString & strF ext.c_str()); return FALSE; } - + bool ok = ft->GetOpenCommand(&cmd, wxFileType::MessageParameters(strFileName, _T(""))); delete ft; @@ -1281,7 +1281,7 @@ void ecApp::CygMountText(wxChar c) DWORD disposition; HKEY hSubKey = 0; - if (ERROR_SUCCESS == RegCreateKeyEx(hKey, key, NULL, NULL, REG_OPTION_NON_VOLATILE, KEY_ALL_ACCESS, + if (ERROR_SUCCESS == RegCreateKeyEx(hKey, key, 0, NULL, REG_OPTION_NON_VOLATILE, KEY_ALL_ACCESS, NULL, & hSubKey, & disposition)) { RegSetValueEx(hSubKey, "native", 0, REG_SZ, (unsigned char*) (const wxChar*) value, value.Length() + 1);
