From 1aea1f56d878e4bd6d28e78c6a40fe7cbd71b7d7 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 3 Aug 2015 15:28:37 +0000 Subject: warning fix git-svn-id: http://svn.miranda-ng.org/main/trunk@14835 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Yahoo/src/libyahoo2/libyahoo2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/Yahoo/src/libyahoo2/libyahoo2.cpp') 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); -- cgit v1.2.3