summaryrefslogtreecommitdiff
path: root/protocols/Yahoo/src
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
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')
-rw-r--r--protocols/Yahoo/src/libyahoo2/libyahoo2.cpp2
-rw-r--r--protocols/Yahoo/src/yahoo.h2
2 files changed, 3 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);
diff --git a/protocols/Yahoo/src/yahoo.h b/protocols/Yahoo/src/yahoo.h
index 89ec1af90b..1a15b46d58 100644
--- a/protocols/Yahoo/src/yahoo.h
+++ b/protocols/Yahoo/src/yahoo.h
@@ -13,6 +13,8 @@
#ifndef _YAHOO_YAHOO_H_
#define _YAHOO_YAHOO_H_
+#pragma warning(disable:4302 4311 4312)
+
#include <windows.h>
#include <shlwapi.h>