Browse Source

Disambiguate swift method call

Adam Kaplan 7 năm trước cách đây
mục cha
commit
b384deed49
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      Sources/Errno.swift

+ 1 - 1
Sources/Errno.swift

@@ -10,6 +10,6 @@ import Foundation
 public class Errno {
     
     public class func description() -> String {
-        return String(cString: UnsafePointer(strerror(errno)))
+        return String(cString: UnsafePointer<UInt8>(strerror(errno)))
     }
 }