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