summaryrefslogtreecommitdiff
path: root/protocols/Yahoo/src/libyahoo2/yahoo_util.cpp
diff options
context:
space:
mode:
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;