We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents eb938d3 + 47a3a71 commit a9339baCopy full SHA for a9339ba
stdlib/public/core/CString.swift
@@ -61,7 +61,6 @@ public func _persistCString(s: UnsafePointer<CChar>) -> [CChar]? {
61
let length = Int(_swift_stdlib_strlen(s))
62
var result = [CChar](count: length + 1, repeatedValue: 0)
63
for i in 0..<length {
64
- // FIXME: this will not compile on platforms where 'CChar' is unsigned.
65
result[i] = s[i]
66
}
67
return result
0 commit comments