Преглед изворни кода

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)))
     }
 }