diff options
author | Alexey Kulakov <panda75@bk.ru> | 2012-10-03 17:00:43 +0000 |
---|---|---|
committer | Alexey Kulakov <panda75@bk.ru> | 2012-10-03 17:00:43 +0000 |
commit | d2da1f079fc61195437007882296184714d2fe54 (patch) | |
tree | 1da95a90cae8b6225754975a97e325ce48d13338 /plugins/HistoryPlusPlus/hpp_events.pas | |
parent | 10e856dedeb8bc7adf01213ff393b82772c90e92 (diff) |
includes updates
history++ compilation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@1771 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/HistoryPlusPlus/hpp_events.pas')
-rw-r--r-- | plugins/HistoryPlusPlus/hpp_events.pas | 4 |
1 files changed, 2 insertions, 2 deletions
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);
|