From 6693ba0e73d05e7ae00977e2073e1a208cc45331 Mon Sep 17 00:00:00 2001 From: Kevin Barnes Date: Fri, 8 May 2009 12:29:59 +0000 Subject: /*long*/ --- .../win32/org/eclipse/swt/ole/win32/OleClientSite.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bundles/org.eclipse.swt/Eclipse SWT OLE Win32') diff --git a/bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleClientSite.java b/bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleClientSite.java index a35f4adf8d..cc8b6e45d3 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleClientSite.java +++ b/bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleClientSite.java @@ -1240,7 +1240,7 @@ private boolean saveToStorageFile(File file) { int length = newFile.length(); char[] buffer = new char[length + 1]; newFile.getChars(0, length, buffer, 0); - int lpszNewFile = COM.CoTaskMemAlloc(buffer.length * 2); + int /*long*/ lpszNewFile = COM.CoTaskMemAlloc(buffer.length * 2); COM.MoveMemory(lpszNewFile, buffer, buffer.length * 2); result = persistFile.Save(lpszNewFile, false); COM.CoTaskMemFree(lpszNewFile); -- cgit