summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSHTTPCookie.java
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSHTTPCookie.java')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSHTTPCookie.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSHTTPCookie.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSHTTPCookie.java
index e29ea217e3..d76636d760 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSHTTPCookie.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSHTTPCookie.java
@@ -16,7 +16,7 @@ public NSHTTPCookie() {
super();
}
-public NSHTTPCookie(int /*long*/ id) {
+public NSHTTPCookie(long /*int*/ id) {
super(id);
}
@@ -25,7 +25,7 @@ public NSHTTPCookie(id id) {
}
public static NSArray cookiesWithResponseHeaderFields(NSDictionary headerFields, NSURL URL) {
- int /*long*/ result = OS.objc_msgSend(OS.class_NSHTTPCookie, OS.sel_cookiesWithResponseHeaderFields_forURL_, headerFields != null ? headerFields.id : 0, URL != null ? URL.id : 0);
+ long /*int*/ result = OS.objc_msgSend(OS.class_NSHTTPCookie, OS.sel_cookiesWithResponseHeaderFields_forURL_, headerFields != null ? headerFields.id : 0, URL != null ? URL.id : 0);
return result != 0 ? new NSArray(result) : null;
}
@@ -34,12 +34,12 @@ public boolean isSessionOnly() {
}
public NSString name() {
- int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_name);
+ long /*int*/ result = OS.objc_msgSend(this.id, OS.sel_name);
return result != 0 ? new NSString(result) : null;
}
public NSString value() {
- int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_value);
+ long /*int*/ result = OS.objc_msgSend(this.id, OS.sel_value);
return result != 0 ? new NSString(result) : null;
}