Skip to content

Commit 3313566

Browse files
committed
Fix warnings
1 parent 1930d09 commit 3313566

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

io/jvm-native/src/main/scala/fs2/io/net/SocketPlatform.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ private[net] trait SocketCompanionPlatform {
7171
protected def readChunk0(buffer: ByteBuffer): F[Int] =
7272
readChunk(buffer).map { bytesRead =>
7373
if (bytesRead >= 0)
74-
totalBytesRead.addAndGet(bytesRead.toLong)
74+
totalBytesRead.addAndGet(bytesRead.toLong): Unit
7575
bytesRead
7676
}
7777

0 commit comments

Comments
 (0)