summaryrefslogtreecommitdiff
path: root/protocols/Dummy/src/dummy_proto.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Dummy/src/dummy_proto.cpp')
-rw-r--r--protocols/Dummy/src/dummy_proto.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Dummy/src/dummy_proto.cpp b/protocols/Dummy/src/dummy_proto.cpp
index c68b687c18..9acb26d22d 100644
--- a/protocols/Dummy/src/dummy_proto.cpp
+++ b/protocols/Dummy/src/dummy_proto.cpp
@@ -87,7 +87,7 @@ int CDummyProto::getTemplateId()
return id;
}
-DWORD_PTR CDummyProto::GetCaps(int type, MCONTACT)
+INT_PTR CDummyProto::GetCaps(int type, MCONTACT)
{
switch(type) {
case PFLAGNUM_1:
@@ -115,7 +115,7 @@ DWORD_PTR CDummyProto::GetCaps(int type, MCONTACT)
if (setting != NULL)
strncpy_s(uniqueIdSetting, setting, _TRUNCATE);
}
- return (DWORD_PTR)uniqueIdSetting;
+ return (INT_PTR)uniqueIdSetting;
}
return 0;
}