summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT OLE Win32
diff options
context:
space:
mode:
authorFelipe Heidrich <fheidric>2009-08-14 13:46:24 +0000
committerFelipe Heidrich <fheidric>2009-08-14 13:46:24 +0000
commitceedaee4bcab70e6a0c75f0568375262d46f1d31 (patch)
tree29a0f8cfc547bbfaa18f5cf96a1918934539ca09 /bundles/org.eclipse.swt/Eclipse SWT OLE Win32
parent13fdd1d635c82d6269b098a4008efefeaf88b0d2 (diff)
downloadeclipse.platform.swt-ceedaee4bcab70e6a0c75f0568375262d46f1d31.tar.gz
eclipse.platform.swt-ceedaee4bcab70e6a0c75f0568375262d46f1d31.tar.xz
eclipse.platform.swt-ceedaee4bcab70e6a0c75f0568375262d46f1d31.zip
fix 64bit
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT OLE Win32')
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleAutomation.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleAutomation.java b/bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleAutomation.java
index 7b23141f2f..34a43ad1e7 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleAutomation.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleAutomation.java
@@ -151,7 +151,7 @@ public OleAutomation(String progId) {
OLE.error(OLE.ERROR_INVALID_CLASSID);
}
- int[] ppvObject = new int[1];
+ int /*long*/[] ppvObject = new int /*long*/[1];
int result = COM.CoCreateInstance(appClsid, 0, COM.CLSCTX_INPROC_SERVER, COM.IIDIUnknown, ppvObject);
if (result != COM.S_OK) {
OS.OleUninitialize();
@@ -475,8 +475,8 @@ public boolean equals(Object object) {
if (objIDispatch == null) return false;
OleAutomation oleAutomation = ((OleAutomation) object);
if (oleAutomation.objIDispatch == null) return false;
- int address1 = objIDispatch.getAddress();
- int address2 = oleAutomation.objIDispatch.getAddress();
+ int /*long*/ address1 = objIDispatch.getAddress();
+ int /*long*/ address2 = oleAutomation.objIDispatch.getAddress();
return address1 == address2;
}
return false;