diff options
Diffstat (limited to 'protocols/Yahoo/src')
-rw-r--r-- | protocols/Yahoo/src/libyahoo2/libyahoo2.cpp | 2 | ||||
-rw-r--r-- | protocols/Yahoo/src/yahoo.h | 2 |
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>
|