From f440b596fc8670be8ea3fb1ec31322a3e4e4b9c7 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 15 Aug 2013 20:00:45 +0000 Subject: warning fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@5708 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Variables/src/parse_metacontacts.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/Variables/src/parse_metacontacts.cpp') diff --git a/plugins/Variables/src/parse_metacontacts.cpp b/plugins/Variables/src/parse_metacontacts.cpp index 40fe04c36b..e20c2833cf 100644 --- a/plugins/Variables/src/parse_metacontacts.cpp +++ b/plugins/Variables/src/parse_metacontacts.cpp @@ -59,7 +59,7 @@ static TCHAR *parseGetParent(ARGUMENTSINFO *ai) return NULL; } - int size = strlen(szProto) + _tcslen(szUniqueID) + 4; + size_t size = strlen(szProto) + _tcslen(szUniqueID) + 4; TCHAR *res = (TCHAR *)mir_alloc(size * sizeof(TCHAR)); if (res == NULL) { mir_free(szUniqueID); @@ -115,7 +115,7 @@ static TCHAR *parseGetDefault(ARGUMENTSINFO *ai) return NULL; } - int size = strlen(szProto) + _tcslen(szUniqueID) + 4; + size_t size = strlen(szProto) + _tcslen(szUniqueID) + 4; TCHAR *res = (TCHAR *)mir_alloc(size * sizeof(TCHAR)); if (res == NULL) { mir_free(szUniqueID); @@ -171,7 +171,7 @@ static TCHAR *parseGetMostOnline(ARGUMENTSINFO *ai) return NULL; } - int size = strlen(szProto) + _tcslen(szUniqueID) + 4; + size_t size = strlen(szProto) + _tcslen(szUniqueID) + 4; TCHAR *res = (TCHAR *)mir_alloc(size * sizeof(TCHAR)); if (res == NULL) { mir_free(szUniqueID); -- cgit v1.2.3