diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2012-06-15 18:24:27 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2012-06-15 18:24:27 +0000 |
commit | 55b5cf8a5506f03350e5c80ac86f5717425e4d10 (patch) | |
tree | 52acaa8018f756d5320b08a614656d6cd7d61911 /plugins/ExtraIcons/options.cpp | |
parent | 015bbcd21923a3905f39771ff14c8078c3b928da (diff) |
Version files added
x64 warning fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@433 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ExtraIcons/options.cpp')
-rw-r--r-- | plugins/ExtraIcons/options.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/ExtraIcons/options.cpp b/plugins/ExtraIcons/options.cpp index 64d98e686e..1d325d0e87 100644 --- a/plugins/ExtraIcons/options.cpp +++ b/plugins/ExtraIcons/options.cpp @@ -545,7 +545,7 @@ static INT_PTR CALLBACK OptionsDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, LP sort.lpfnCompare = CompareFunc;
TreeView_SortChildrenCB(tree, &sort, 0);
- origTreeProc = (WNDPROC) SetWindowLongPtr(tree, -4, (INT_PTR)TreeProc);
+ origTreeProc = (WNDPROC) SetWindowLongPtr(tree, GWLP_WNDPROC, (INT_PTR)TreeProc);
return TRUE;
}
@@ -642,14 +642,14 @@ static INT_PTR CALLBACK OptionsDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, LP }
CallService(MS_DB_MODULE_DELETE, 0, (LPARAM) MODULE_NAME "Groups");
- DBWriteContactSettingWord(NULL, MODULE_NAME "Groups", "Count", groups.size());
+ DBWriteContactSettingWord(NULL, MODULE_NAME "Groups", "Count", (WORD)groups.size());
for (i = 0; i < groups.size(); ++i)
{
ExtraIconGroup *group = groups[i];
char setting[512];
mir_snprintf(setting, MAX_REGS(setting), "%d_count", i);
- DBWriteContactSettingWord(NULL, MODULE_NAME "Groups", setting, group->items.size());
+ DBWriteContactSettingWord(NULL, MODULE_NAME "Groups", setting, (WORD)group->items.size());
for (unsigned int j = 0; j < group->items.size(); ++j)
{
|