summaryrefslogtreecommitdiff
path: root/src/nsfns.m
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2021-02-03 08:11:08 -0800
committerGlenn Morris <rgm@gnu.org>2021-02-03 08:11:08 -0800
commit7e86357b423b8b0e197203f874e390e6c7cad6ee (patch)
tree0404e89593d29264925362d442da5a98a29418c3 /src/nsfns.m
parent0d1e96ac951dddb36defd788f1a4c5e7bd4d82a3 (diff)
parent9c7543417306752683faacd1436f9748a6f4f616 (diff)
downloademacs-7e86357b423b8b0e197203f874e390e6c7cad6ee.tar.gz
emacs-7e86357b423b8b0e197203f874e390e6c7cad6ee.tar.bz2
emacs-7e86357b423b8b0e197203f874e390e6c7cad6ee.zip
Merge from origin/emacs-27
9c75434173 Fix build failure on macOS 10.7 (bug#46036) ca44ea18ef Improve documentation of auto-resize-tool/tab-bars
Diffstat (limited to 'src/nsfns.m')
-rw-r--r--src/nsfns.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nsfns.m b/src/nsfns.m
index c383e2f7ecf..c7857eac731 100644
--- a/src/nsfns.m
+++ b/src/nsfns.m
@@ -482,7 +482,7 @@ ns_set_represented_filename (struct frame *f)
#if defined (NS_IMPL_COCOA) && defined (MAC_OS_X_VERSION_10_7)
/* Work around for Mach port leaks on macOS 10.15 (bug#38618). */
NSURL *fileURL = [NSURL fileURLWithPath:fstr isDirectory:NO];
- NSNumber *isUbiquitousItem = @YES;
+ NSNumber *isUbiquitousItem = [NSNumber numberWithBool:YES];
[fileURL getResourceValue:(id *)&isUbiquitousItem
forKey:NSURLIsUbiquitousItemKey
error:nil];