summaryrefslogtreecommitdiff
path: root/protocols/IcqOscarJ/src/icq_http.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-12-05 14:50:31 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-12-05 14:50:31 +0000
commitae10177eb1e515eada4aa2b4295aab02d1f7c176 (patch)
treea42597711316c7a9757e3598c48cf76c3fdf4a72 /protocols/IcqOscarJ/src/icq_http.cpp
parent8961403e3a5002fd284422f8c6ec5a78fdd81816 (diff)
warning fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@11251 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/IcqOscarJ/src/icq_http.cpp')
-rw-r--r--protocols/IcqOscarJ/src/icq_http.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/IcqOscarJ/src/icq_http.cpp b/protocols/IcqOscarJ/src/icq_http.cpp
index 1d0283456a..545d52a7f3 100644
--- a/protocols/IcqOscarJ/src/icq_http.cpp
+++ b/protocols/IcqOscarJ/src/icq_http.cpp
@@ -154,7 +154,7 @@ PBYTE icq_httpGatewayUnwrapRecv(NETLIBHTTPREQUEST* nlhr, PBYTE buf, int len, int
unpackWord(&tbuf, &wLen);
if (wLen < 12)
break;
- if (tbuf - buf + wLen > len)
+ if (tbuf - buf + wLen > (size_t)len)
break;
tbuf += 2; /* version */
unpackWord(&tbuf, &wType);