summaryrefslogtreecommitdiff
path: root/plugins/QuickContacts
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-04-24 21:25:59 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-04-24 21:25:59 +0000
commit2a3b48f91c74e4d0115c26af702a4d2ffccfc805 (patch)
tree307b681fa5b1a83db485334d3d24b80d2333c39d /plugins/QuickContacts
parent467d090133efe3ee3bf093954a333928f001c8a5 (diff)
end of zoo with various _WIN32_WINNT versions
git-svn-id: http://svn.miranda-ng.org/main/trunk@13112 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/QuickContacts')
-rw-r--r--plugins/QuickContacts/src/commons.h2
-rw-r--r--plugins/QuickContacts/src/quickcontacts.cpp2
2 files changed, 1 insertions, 3 deletions
diff --git a/plugins/QuickContacts/src/commons.h b/plugins/QuickContacts/src/commons.h
index ab0397762f..98e8b0d5dd 100644
--- a/plugins/QuickContacts/src/commons.h
+++ b/plugins/QuickContacts/src/commons.h
@@ -22,8 +22,6 @@ Boston, MA 02111-1307, USA.
#ifndef __COMMONS_H__
# define __COMMONS_H__
-#define WINVER 0x0500
-
#include <windows.h>
#include <commctrl.h>
diff --git a/plugins/QuickContacts/src/quickcontacts.cpp b/plugins/QuickContacts/src/quickcontacts.cpp
index 3e77ddff60..fc5f7b9bc7 100644
--- a/plugins/QuickContacts/src/quickcontacts.cpp
+++ b/plugins/QuickContacts/src/quickcontacts.cpp
@@ -480,7 +480,7 @@ int CheckText(HWND hdlg, TCHAR *sztext, BOOL only_enable = FALSE)
if(sztext == NULL || sztext[0] == _T('\0'))
return 0;
- int len = mir_tstrlen(sztext);
+ size_t len = mir_tstrlen(sztext);
if (only_enable)
{