summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/steam_utils.cpp
diff options
context:
space:
mode:
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)