actually use PAGE_SIZE

This commit is contained in:
2024-08-24 00:35:31 +02:00
parent 5dddd7bf56
commit 2622d8073b
3 changed files with 8 additions and 3 deletions

View File

@@ -86,7 +86,7 @@ JNIEXPORT void JNICALL Java_com_usatiuk_dhfs_supportlib_DhfsSupportNative_dropBy
free((void*) addr);
}
JNIEXPORT jint JNICALL Java_com_usatiuk_dhfs_supportlib_DhfsSupportNative_getPageSize
JNIEXPORT jint JNICALL Java_com_usatiuk_dhfs_supportlib_DhfsSupportNative_getPageSizeInternal
(JNIEnv*, jclass) {
return checked_cast<jint>(get_page_size());
}