Skip to content

Commit 4339393

Browse files
authored
[android] fix 32-bit build (#1086)
Regression after bb3fccf
1 parent bb3fccf commit 4339393

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/FoundationEssentials/FileManager/FileOperations.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -995,7 +995,7 @@ enum _FileOperations {
995995
}
996996

997997
// Copy permissions
998-
if fchmod(dstFD, statInfo.st_mode) != 0 {
998+
if fchmod(dstFD, mode_t(statInfo.st_mode)) != 0 {
999999
try delegate.throwIfNecessary(errno, srcPath(), dstPath())
10001000
}
10011001
} else {

0 commit comments

Comments
 (0)