1
0
Эх сурвалжийг харах

Disambiguate swift method call

Adam Kaplan 7 жил өмнө
parent
commit
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)))
     }
 }