From 2a3b48f91c74e4d0115c26af702a4d2ffccfc805 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 24 Apr 2015 21:25:59 +0000 Subject: end of zoo with various _WIN32_WINNT versions git-svn-id: http://svn.miranda-ng.org/main/trunk@13112 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/QuickContacts/src/commons.h | 2 -- plugins/QuickContacts/src/quickcontacts.cpp | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'plugins/QuickContacts') 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 #include 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) { -- cgit v1.2.3