aboutsummaryrefslogtreecommitdiff
path: root/libjava/gnu/java/nio/ByteBufferImpl.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/gnu/java/nio/ByteBufferImpl.java')
-rw-r--r--libjava/gnu/java/nio/ByteBufferImpl.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/libjava/gnu/java/nio/ByteBufferImpl.java b/libjava/gnu/java/nio/ByteBufferImpl.java
index 149dc1c..342f331 100644
--- a/libjava/gnu/java/nio/ByteBufferImpl.java
+++ b/libjava/gnu/java/nio/ByteBufferImpl.java
@@ -320,7 +320,7 @@ public final class ByteBufferImpl extends ByteBuffer
if (readOnly)
throw new ReadOnlyBufferException ();
- nio_put_Short (this, position (), limit(), value);
+ nio_put_Short (this, position (), limit (), value);
inc_pos (2);
return this;
}
@@ -352,7 +352,7 @@ public final class ByteBufferImpl extends ByteBuffer
if (readOnly)
throw new ReadOnlyBufferException ();
- nio_put_Int (this, position (), limit , value);
+ nio_put_Int (this, position (), limit (), value);
inc_pos (4);
return this;
}