Skip to content

Commit e9e4b50

Browse files
fix: only physicalMemory needs to be UInt64
1 parent a34fdbc commit e9e4b50

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Sources/BushelFoundation/SystemConfiguration.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,14 @@ extension SystemConfiguration {
5050
public init(
5151
operatingSystemVersionString: String,
5252
physicalMemory: UInt64,
53-
processorCount: UInt64,
54-
activeProcessorCount: UInt64
53+
processorCount: Int,
54+
activeProcessorCount: Int
5555
) {
5656
self.init(
5757
operatingSystemVersionString: operatingSystemVersionString,
5858
physicalMemory: Int(physicalMemory),
59-
processorCount: Int(processorCount),
60-
activeProcessorCount: Int(activeProcessorCount)
59+
processorCount: processorCount,
60+
activeProcessorCount: activeProcessorCount
6161
)
6262
}
6363
}

0 commit comments

Comments
 (0)