diff options
Diffstat (limited to 'plugins/QuickContacts/src')
-rw-r--r-- | plugins/QuickContacts/src/commons.h | 2 | ||||
-rw-r--r-- | plugins/QuickContacts/src/quickcontacts.cpp | 2 |
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)
{
|