summaryrefslogtreecommitdiff
path: root/plugins/HistoryPlusPlus/hpp_external.pas
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2012-12-08 20:59:04 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2012-12-08 20:59:04 +0000
commit43d46b2851d53acd8fe348646de96e8e2515178e (patch)
treec190a12c4ac8935949c0bfd5534236d7159c026c /plugins/HistoryPlusPlus/hpp_external.pas
parent65352c6e480b508dd68235b3434f7ea9bd9008b8 (diff)
- HistoryPlusPlus: compilation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@2701 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/HistoryPlusPlus/hpp_external.pas')
-rw-r--r--plugins/HistoryPlusPlus/hpp_external.pas16
1 files changed, 8 insertions, 8 deletions
diff --git a/plugins/HistoryPlusPlus/hpp_external.pas b/plugins/HistoryPlusPlus/hpp_external.pas
index 475bd20426..97224d6355 100644
--- a/plugins/HistoryPlusPlus/hpp_external.pas
+++ b/plugins/HistoryPlusPlus/hpp_external.pas
@@ -69,7 +69,7 @@ var
hExtWindowIE, hExtEventIE, hExtNavigateIE, hExtOptChangedIE: THandle;
hExtWindow, hExtEvent, hExtNavigate, hExtOptChanged: THandle;
-function _ExtWindow(wParam:WPARAM; lParam: LPARAM; GridMode: TExGridMode): int_ptr;
+function _ExtWindow(wParam:WPARAM; lParam: LPARAM; GridMode: TExGridMode): uint_ptr;
var
par: PIEVIEWWINDOW;
ExtGrid: TExternalGrid;
@@ -133,17 +133,17 @@ begin
//end;
end;
-function ExtWindowNative(wParam:WPARAM; lParam: LPARAM): int_ptr; cdecl;
+function ExtWindowNative(wParam:WPARAM; lParam: LPARAM): uint_ptr; cdecl;
begin
Result := _ExtWindow(wParam,lParam,gmNative);
end;
-function ExtWindowIEView(wParam:WPARAM; lParam: LPARAM): int_ptr; cdecl;
+function ExtWindowIEView(wParam:WPARAM; lParam: LPARAM): uint_ptr; cdecl;
begin
Result := _ExtWindow(wParam,lParam,gmIEView);
end;
-function _ExtEvent(wParam:WPARAM; lParam: LPARAM; GridMode: TExGridMode): int_ptr; cdecl;
+function _ExtEvent(wParam:WPARAM; lParam: LPARAM; GridMode: TExGridMode): uint_ptr; cdecl;
var
event: PIEVIEWEVENT;
customEvent: PIEVIEWEVENTDATA;
@@ -216,7 +216,7 @@ begin
ExtGrid.EndUpdate;
end;
IEE_GET_SELECTION: begin
- Result := int_ptr(ExtGrid.GetSelection(boolean(event.dwFlags and IEEF_NO_UNICODE)));
+ Result := uint_ptr(ExtGrid.GetSelection(boolean(event.dwFlags and IEEF_NO_UNICODE)));
end;
IEE_SAVE_DOCUMENT: begin
ExtGrid.SaveSelected;
@@ -226,17 +226,17 @@ begin
//end;
end;
-function ExtEventNative(wParam:WPARAM; lParam: LPARAM): int_ptr; cdecl;
+function ExtEventNative(wParam:WPARAM; lParam: LPARAM): uint_ptr; cdecl;
begin
Result := _ExtEvent(wParam,lParam,gmNative);
end;
-function ExtEventIEView(wParam:WPARAM; lParam: LPARAM): int_ptr; cdecl;
+function ExtEventIEView(wParam:WPARAM; lParam: LPARAM): uint_ptr; cdecl;
begin
Result := _ExtEvent(wParam,lParam,gmIEView);
end;
-function ExtNavigate(wParam:WPARAM; lParam: LPARAM): int_ptr; cdecl;
+function ExtNavigate(wParam:WPARAM; lParam: LPARAM): uint_ptr; cdecl;
begin
Result := 0;
//try