aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nsfns.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nsfns.m b/src/nsfns.m
index 13ff67df092..93d5a1e9488 100644
--- a/src/nsfns.m
+++ b/src/nsfns.m
@@ -493,11 +493,11 @@ ns_set_represented_filename (struct frame *f)
493#if defined (NS_IMPL_COCOA) && defined (MAC_OS_X_VERSION_10_7) 493#if defined (NS_IMPL_COCOA) && defined (MAC_OS_X_VERSION_10_7)
494 /* Work around for Mach port leaks on macOS 10.15 (bug#38618). */ 494 /* Work around for Mach port leaks on macOS 10.15 (bug#38618). */
495 NSURL *fileURL = [NSURL fileURLWithPath:fstr isDirectory:NO]; 495 NSURL *fileURL = [NSURL fileURLWithPath:fstr isDirectory:NO];
496 BOOL isUbiquitousItem = YES; 496 NSNumber *isUbiquitousItem = @YES;
497 [fileURL getResourceValue:(id *)&isUbiquitousItem 497 [fileURL getResourceValue:(id *)&isUbiquitousItem
498 forKey:NSURLIsUbiquitousItemKey 498 forKey:NSURLIsUbiquitousItemKey
499 error:nil]; 499 error:nil];
500 if (isUbiquitousItem) 500 if ([isUbiquitousItem boolValue])
501 fstr = @""; 501 fstr = @"";
502#endif 502#endif
503 503