diff --git a/Sources/Errno.swift b/Sources/Errno.swift index acef4235..7d4375b7 100644 --- a/Sources/Errno.swift +++ b/Sources/Errno.swift @@ -10,6 +10,7 @@ import Foundation public class Errno { public class func description() -> String { - return String(cString: UnsafePointer(strerror(errno))) + // https://forums.developer.apple.com/thread/113919 + return String(cString: strerror(errno)) } }