소스 검색

Disambiguate swift method call

Adam Kaplan 7 년 전
부모
커밋
b384deed49
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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)))
     }
 }