From d2da1f079fc61195437007882296184714d2fe54 Mon Sep 17 00:00:00 2001 From: Alexey Kulakov Date: Wed, 3 Oct 2012 17:00:43 +0000 Subject: includes updates history++ compilation fix git-svn-id: http://svn.miranda-ng.org/main/trunk@1771 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/HistoryPlusPlus/hpp_events.pas | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/HistoryPlusPlus/hpp_events.pas') diff --git a/plugins/HistoryPlusPlus/hpp_events.pas b/plugins/HistoryPlusPlus/hpp_events.pas index 657612dbf4..66d9e7228c 100644 --- a/plugins/HistoryPlusPlus/hpp_events.pas +++ b/plugins/HistoryPlusPlus/hpp_events.pas @@ -671,7 +671,7 @@ var begin // blob is: uin(DWORD), hContact(THANDLE), nick(ASCIIZ), first(ASCIIZ), last(ASCIIZ), email(ASCIIZ) uin := PDWord(EventInfo.pBlob)^; - hContact := PDWord(PDWord(Pointer(EventInfo.pBlob)) + SizeOf(dword))^; + hContact := PDWord(uint_ptr(Pointer(EventInfo.pBlob)) + SizeOf(dword))^; BytePos := SizeOf(dword)*2; // read nick ReadStringTillZeroA(Pointer(EventInfo.pBlob), EventInfo.cbBlob, Nick, BytePos); @@ -714,7 +714,7 @@ var begin // blob is: uin(DWORD), hContact(THANDLE), nick(ASCIIZ), first(ASCIIZ), last(ASCIIZ), email(ASCIIZ) uin := PDWord(EventInfo.pBlob)^; - hContact := PDWord(PDWord(Pointer(EventInfo.pBlob)) + SizeOf(dword))^; + hContact := PDWord(uint_ptr(Pointer(EventInfo.pBlob)) + SizeOf(dword))^; BytePos := SizeOf(dword)*2; // read nick ReadStringTillZeroA(Pointer(EventInfo.pBlob), EventInfo.cbBlob, Nick, BytePos); -- cgit v1.2.3