Fix compiler warning

This commit is contained in:
Yasuhiro Hatta 2016-08-21 11:32:27 +09:00
parent 5c3228e218
commit 0acd6ddd20
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ internal class BinaryReader {
return stream.hasBytesAvailable
}
private func readStream(_ buffer: UnsafeMutablePointer<UInt8>, maxLength: Int) throws -> Int {
private func readStream(buffer: UnsafeMutablePointer<UInt8>, maxLength: Int) throws -> Int {
if stream.streamStatus != .Open {
throw CSVError.CannotReadFile
}