From f4db128b96bf38991a3dea70ef568a1248665a2c Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 30 Apr 2015 19:46:58 +0000 Subject: unified project for Steam protocol git-svn-id: http://svn.miranda-ng.org/main/trunk@13316 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Steam/src/steam_utils.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'protocols/Steam/src/steam_utils.cpp') diff --git a/protocols/Steam/src/steam_utils.cpp b/protocols/Steam/src/steam_utils.cpp index 40fd27d888..ea924eac86 100644 --- a/protocols/Steam/src/steam_utils.cpp +++ b/protocols/Steam/src/steam_utils.cpp @@ -1,4 +1,6 @@ -#include "common.h" +#include "stdafx.h" + +#pragma comment(lib, "crypt32.lib") WORD CSteamProto::SteamToMirandaStatus(int state) { @@ -116,7 +118,7 @@ int CSteamProto::RsaEncrypt(const char *pszModulus, const char *data, BYTE *encr goto exit; } - DWORD dataSize = strlen(data); + DWORD dataSize = (DWORD)strlen(data); // if data is not allocated just renurn size if (encryptedData == NULL) -- cgit v1.2.3