diff options
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/os.c | 2 | ||||
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/os.c b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/os.c index 671bcfe0cc..bad992b4b1 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/os.c +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/os.c @@ -1265,7 +1265,7 @@ JNIEXPORT jintLong JNICALL OS_NATIVE(CFURLCreateFromFSRef) jintLong rc = 0; OS_NATIVE_ENTER(env, that, CFURLCreateFromFSRef_FUNC); if (arg1) if ((lparg1 = (*env)->GetByteArrayElements(env, arg1, NULL)) == NULL) goto fail; - rc = (jintLong)CFURLCreateFromFSRef((CFAllocatorRef)arg0, (struct FSRef*)lparg1); + rc = (jintLong)CFURLCreateFromFSRef((CFAllocatorRef)arg0, (FSRef*)lparg1); fail: if (arg1 && lparg1) (*env)->ReleaseByteArrayElements(env, arg1, lparg1, 0); OS_NATIVE_EXIT(env, that, CFURLCreateFromFSRef_FUNC); diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java index ccd13c6be6..854be0d54e 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java @@ -3389,7 +3389,7 @@ public static final native void CFRunLoopStop(long /*int*/ rl); public static final native long /*int*/ CFStringCreateWithCharacters(long /*int*/ alloc, char[] chars, long /*int*/ numChars); /** * @param allocator cast=(CFAllocatorRef) - * @param fsRef cast=(struct FSRef*) + * @param fsRef cast=(FSRef*) */ public static final native long /*int*/ CFURLCreateFromFSRef(long /*int*/ allocator, byte[] fsRef); /** |