Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Sources/CoreFoundation/CFBundle_SplitFileName.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ CF_PRIVATE void _CFBundleSplitFileName(CFStringRef fileName, CFStringRef *noProd
// Search for the type from the end (type defined as everything after the last '.')
// e.g., a file name like foo.jpg has a type of 'jpg'
Boolean foundDot = false;
uint16_t dotLocation = 0;
CFIndex dotLocation = 0;
for (CFIndex i = fileNameLen; i > 0; i--) {
if (CFStringGetCharacterAtIndex(fileName, i - 1) == '.') {
foundDot = true;
Expand Down