diff options
author | George Hazan <george.hazan@gmail.com> | 2012-12-10 12:45:17 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-12-10 12:45:17 +0000 |
commit | 8044bbcf4a63c6bb0efddb18acc60ce43bbf158d (patch) | |
tree | 6f23296d3b95a621ad4d10945b5bb4ec4e9681dc /plugins | |
parent | 9c21da5ff8143c2795a82ca755b36bbb2d749aa5 (diff) |
crash in System History
git-svn-id: http://svn.miranda-ng.org/main/trunk@2710 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/HistoryPlusPlus/hpp_contacts.pas | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/HistoryPlusPlus/hpp_contacts.pas b/plugins/HistoryPlusPlus/hpp_contacts.pas index 6b40943ae1..288c083123 100644 --- a/plugins/HistoryPlusPlus/hpp_contacts.pas +++ b/plugins/HistoryPlusPlus/hpp_contacts.pas @@ -135,7 +135,7 @@ begin if Proto = '' then
Proto := GetContactProto(hContact);
uid := PAnsiChar(CallProtoService(PAnsiChar(Proto), PS_GETCAPS, PFLAG_UNIQUEIDSETTING, 0));
- if (Cardinal(uid) <> CALLSERVICE_NOTFOUND) and (uid <> nil) then
+ if (uint_ptr(uid) <> CALLSERVICE_NOTFOUND) and (uid <> nil) then
begin
cgs.szModule := PAnsiChar(Proto);
cgs.szSetting := uid;
|