Procházet zdrojové kódy

Disambiguate swift method call

Adam Kaplan před 7 roky
rodič
revize
b384deed49
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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)))
     }
 }