Skip to content

Commit

Permalink
attempt to fix ios DataBuffer build
Browse files Browse the repository at this point in the history
  • Loading branch information
matejdro committed Dec 24, 2020
1 parent 64878b0 commit 671df66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/iosMain/kotlin/util/DataBuffer.kt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ actual class DataBuffer {
* Total length of the buffer
*/
actual val length: Int
get() = actualBuf.getLength()
get() = actualBuf.length.toInt()

private var _readPosition: Int = 0

Expand Down

0 comments on commit 671df66

Please sign in to comment.