summaryrefslogtreecommitdiff
path: root/protocols/Yahoo/src/libyahoo2/libyahoo2.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-08-03 15:28:37 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-08-03 15:28:37 +0000
commit1aea1f56d878e4bd6d28e78c6a40fe7cbd71b7d7 (patch)
treec821f987230b8beefbac35a46014ad46c9a434fd /protocols/Yahoo/src/libyahoo2/libyahoo2.cpp
parent8a62ecf24f61fa26dfa604fbf0938320fcc3ae61 (diff)
warning fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@14835 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Yahoo/src/libyahoo2/libyahoo2.cpp')
-rw-r--r--protocols/Yahoo/src/libyahoo2/libyahoo2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Yahoo/src/libyahoo2/libyahoo2.cpp b/protocols/Yahoo/src/libyahoo2/libyahoo2.cpp
index f4c60152c5..22343fbc4b 100644
--- a/protocols/Yahoo/src/libyahoo2/libyahoo2.cpp
+++ b/protocols/Yahoo/src/libyahoo2/libyahoo2.cpp
@@ -6485,7 +6485,7 @@ char *yahoo_ft7dc_send(int id, const char *buddy, YList *files)
mir_md5_init(&ctx);
mir_md5_append(&ctx, (BYTE *)buddy, strlen(buddy));
- snprintf(ft_token, 32, "%lu", time(NULL));
+ snprintf(ft_token, 32, "%lu", (long)time(NULL));
mir_md5_append(&ctx, (BYTE *)ft_token, strlen(ft_token));
mir_md5_finish(&ctx, result);
to_y64((unsigned char *)ft_token, result, 16);