diff --git a/core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/paginated/base/ODurablePage.java b/core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/paginated/base/ODurablePage.java index 6f83326415d..f875f17d63b 100755 --- a/core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/paginated/base/ODurablePage.java +++ b/core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/paginated/base/ODurablePage.java @@ -259,7 +259,7 @@ protected final int setIntValue(final int pageOffset, final int value) { protected final int setShortValue(final int pageOffset, final short value) { if (changes != null) { - changes.setIntValue(buffer, value, pageOffset); + changes.setShortValue(buffer, value, pageOffset); } else { assert buffer != null; assert buffer.order() == ByteOrder.nativeOrder();