diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-12-08 20:59:04 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-12-08 20:59:04 +0000 |
commit | 43d46b2851d53acd8fe348646de96e8e2515178e (patch) | |
tree | c190a12c4ac8935949c0bfd5534236d7159c026c | |
parent | 65352c6e480b508dd68235b3434f7ea9bd9008b8 (diff) |
- HistoryPlusPlus: compilation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@2701 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | plugins/HistoryPlusPlus/hpp_external.pas | 16 | ||||
-rw-r--r-- | plugins/HistoryPlusPlus/hpp_services.pas | 10 |
2 files changed, 13 insertions, 13 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
diff --git a/plugins/HistoryPlusPlus/hpp_services.pas b/plugins/HistoryPlusPlus/hpp_services.pas index be6d56e007..6b2d2310d7 100644 --- a/plugins/HistoryPlusPlus/hpp_services.pas +++ b/plugins/HistoryPlusPlus/hpp_services.pas @@ -157,7 +157,7 @@ end; // MS_HISTORY_SHOWCONTACTHISTORY service
// show history called by miranda
-function HppShowHistory(wParam { hContact } : WPARAM; lParam { 0 } : LPARAM): int_ptr; cdecl;
+function HppShowHistory(wParam { hContact } : WPARAM; lParam { 0 } : LPARAM): uint_ptr; cdecl;
begin
OpenContactHistory(wParam);
Result := 0;
@@ -165,14 +165,14 @@ end; // MS_HPP_GETVERSION service
// See m_historypp.inc for details
-function HppGetVersion(wParam { 0 } : WPARAM; lParam { 0 } : LPARAM): int_ptr; cdecl;
+function HppGetVersion(wParam { 0 } : WPARAM; lParam { 0 } : LPARAM): uint_ptr; cdecl;
begin
Result := hppVersion;
end;
// MS_HPP_SHOWGLOBALSEARCH service
// See m_historypp.inc for details
-function HppShowGlobalSearch(wParam { 0 } : WPARAM; lParam { 0 } : LPARAM): int_ptr; cdecl;
+function HppShowGlobalSearch(wParam { 0 } : WPARAM; lParam { 0 } : LPARAM): uint_ptr; cdecl;
begin
if not Assigned(fmGlobalSearch) then
begin
@@ -187,7 +187,7 @@ end; // MS_HPP_OPENHISTORYEVENT service
// See m_historypp.inc for details
-function HppOpenHistoryEvent(wParam { POpenEventParams } : WPARAM; lParam: LPARAM): int_ptr; cdecl;
+function HppOpenHistoryEvent(wParam { POpenEventParams } : WPARAM; lParam: LPARAM): uint_ptr; cdecl;
var
wHistory: THistoryFrm;
hDbEvent: THandle;
@@ -219,7 +219,7 @@ end; // MS_HPP_EMPTYHISTORY service
// See m_historypp.inc for details
-function HppEmptyHistory(wParam { hContact } : WPARAM; lParam { 0 } : LPARAM): int_ptr; cdecl;
+function HppEmptyHistory(wParam { hContact } : WPARAM; lParam { 0 } : LPARAM): uint_ptr; cdecl;
var
wHistory: THistoryFrm;
begin
|