summaryrefslogtreecommitdiff
path: root/protocols/Yahoo/src/libyahoo2/yahoo_util.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-06-06 11:13:42 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-06-06 11:13:42 +0000
commit4cf8d843e758b11eb1c6156f9aeeb46d1810b61b (patch)
tree6b1c4e515402b8f903a7b4a9137acc6b953c64b9 /protocols/Yahoo/src/libyahoo2/yahoo_util.cpp
parent77778c2b9236077c7e79f06aa798affa2f90a1db (diff)
no more warnings in libyahoo
git-svn-id: http://svn.miranda-ng.org/main/trunk@14024 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Yahoo/src/libyahoo2/yahoo_util.cpp')
-rw-r--r--protocols/Yahoo/src/libyahoo2/yahoo_util.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Yahoo/src/libyahoo2/yahoo_util.cpp b/protocols/Yahoo/src/libyahoo2/yahoo_util.cpp
index 659cb4e6a9..63149f3821 100644
--- a/protocols/Yahoo/src/libyahoo2/yahoo_util.cpp
+++ b/protocols/Yahoo/src/libyahoo2/yahoo_util.cpp
@@ -41,7 +41,7 @@ char *strchr (), *strrchr ();
char * y_string_append(char * string, char * append)
{
- int size = strlen(string) + strlen(append) + 1;
+ int size = (int)strlen(string) + (int)strlen(append) + 1;
char * new_string = y_renew(char, string, size);
if (new_string == NULL) {
@@ -121,7 +121,7 @@ char ** y_strsplit(char * str, char * sep, int nelem)
char ** vector;
char *s, *p;
int i=0;
- int l = strlen(sep);
+ int l = (int)strlen(sep);
if (nelem <= 0) {
char * s;
nelem=0;