summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Steam/src/main.cpp')
-rw-r--r--protocols/Steam/src/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/Steam/src/main.cpp b/protocols/Steam/src/main.cpp
index 6fe8317684..fa597983d9 100644
--- a/protocols/Steam/src/main.cpp
+++ b/protocols/Steam/src/main.cpp
@@ -38,7 +38,8 @@ extern "C" int __declspec(dllexport) Load(void)
{
mir_getLP(&pluginInfo);
- PROTOCOLDESCRIPTOR pd = { sizeof(pd) };
+ PROTOCOLDESCRIPTOR pd = { 0 };
+ pd.cbSize = sizeof(pd);
pd.szName = "STEAM";
pd.type = PROTOTYPE_PROTOCOL;
pd.fnInit = (pfnInitProto)CSteamProto::InitProtoInstance;