From 4cf8d843e758b11eb1c6156f9aeeb46d1810b61b Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 6 Jun 2015 11:13:42 +0000 Subject: no more warnings in libyahoo git-svn-id: http://svn.miranda-ng.org/main/trunk@14024 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Yahoo/src/libyahoo2/yahoo_util.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/Yahoo/src/libyahoo2/yahoo_util.cpp') 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; -- cgit v1.2.3