Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2017-09-27 07:50:23 +0000
committerAlexander Kurtakov2017-09-27 07:50:23 +0000
commitef1c9ece12b56540eb7357cef11ed3c8030db167 (patch)
tree7cf55060ffccb4659aa03918f0777dfc8ccd3017 /bundles/org.eclipse.swt/Eclipse SWT WebKit
parentaab6e35f45638c8e78f68696d4e0d73927332d5d (diff)
downloadeclipse.platform.swt-ef1c9ece12b56540eb7357cef11ed3c8030db167.tar.gz
eclipse.platform.swt-ef1c9ece12b56540eb7357cef11ed3c8030db167.tar.xz
eclipse.platform.swt-ef1c9ece12b56540eb7357cef11ed3c8030db167.zip
Bug 525255 - Enable indirect static usage warningsI20170927-0420
Cover cocoa. Change-Id: Ibf01d0735cc001978dcd27d1af4d2dba8b277327 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT WebKit')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT WebKit/cocoa/org/eclipse/swt/browser/WebKit.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT WebKit/cocoa/org/eclipse/swt/browser/WebKit.java b/bundles/org.eclipse.swt/Eclipse SWT WebKit/cocoa/org/eclipse/swt/browser/WebKit.java
index 617e2acb1f..75ae13fd49 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT WebKit/cocoa/org/eclipse/swt/browser/WebKit.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT WebKit/cocoa/org/eclipse/swt/browser/WebKit.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2011, 2016 IBM Corporation and others.
+ * Copyright (c) 2011, 2017 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -1703,7 +1703,7 @@ Object convertToJava (long /*int*/ value) {
NSNumber number = new NSNumber (value);
long /*int*/ ptr = number.objCType ();
byte[] type = new byte[1];
- OS.memmove (type, ptr, 1);
+ C.memmove (type, ptr, 1);
if (type[0] == 'c' || type[0] == 'B') {
return new Boolean (number.boolValue ());
}

Back to the top