summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/steam_utils.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-04-30 19:46:58 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-04-30 19:46:58 +0000
commitf4db128b96bf38991a3dea70ef568a1248665a2c (patch)
treebadb86aebf3ec10e16e231f6bb46aa64b223b1b0 /protocols/Steam/src/steam_utils.cpp
parent157aa0dfbddd63f75f7eb7c1a8162df960543a64 (diff)
unified project for Steam protocol
git-svn-id: http://svn.miranda-ng.org/main/trunk@13316 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Steam/src/steam_utils.cpp')
-rw-r--r--protocols/Steam/src/steam_utils.cpp6
1 files changed, 4 insertions, 2 deletions
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)