We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1930d09 commit 3313566Copy full SHA for 3313566
io/jvm-native/src/main/scala/fs2/io/net/SocketPlatform.scala
@@ -71,7 +71,7 @@ private[net] trait SocketCompanionPlatform {
71
protected def readChunk0(buffer: ByteBuffer): F[Int] =
72
readChunk(buffer).map { bytesRead =>
73
if (bytesRead >= 0)
74
- totalBytesRead.addAndGet(bytesRead.toLong)
+ totalBytesRead.addAndGet(bytesRead.toLong): Unit
75
bytesRead
76
}
77
0 commit comments