summaryrefslogtreecommitdiff
path: root/protocols/IcqOscarJ/src/icq_http.cpp
diff options
context:
space:
mode:
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);