From 8044bbcf4a63c6bb0efddb18acc60ce43bbf158d Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 10 Dec 2012 12:45:17 +0000 Subject: crash in System History git-svn-id: http://svn.miranda-ng.org/main/trunk@2710 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/HistoryPlusPlus/hpp_contacts.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') 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; -- cgit v1.2.3