Skip to content

Commit 066682d

Browse files
committed
Fix obvious, unreported type mismatch.
1 parent 91d24c1 commit 066682d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

CoreFoundation/Base.subproj/CFKnownLocations.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,9 @@ CFURLRef _Nullable _CFKnownLocationCreatePreferencesURLForUser(CFKnownLocationUs
5959
assert(user == _kCFKnownLocationUserCurrent);
6060

6161
if (user == _kCFKnownLocationUserCurrent) {
62-
location = _CFXDGCreateConfigHomePath();
62+
CFStringRef path = _CFXDGCreateConfigHomePath();
63+
location = CFURLCreateWithFileSystemPath(kCFAllocatorSystemDefault, path, kCFURLPOSIXPathStyle, true);
64+
CFRelease(path);
6365
}
6466
}
6567

0 commit comments

Comments
 (0)