8289095: (fs) UnixCopyFile build error on linux-x86

Reviewed-by: alanb, shade, stuefe
This commit is contained in:
Brian Burkhalter 2022-06-24 14:24:28 +00:00
parent 0d2952e5b3
commit 239b4bb020

View File

@ -80,7 +80,7 @@ Java_sun_nio_fs_UnixCopyFile_bufferedCopy0
{
volatile jint* cancel = (jint*)jlong_to_ptr(cancelAddress);
char* buf = (char*)address;
char* buf = (char*)jlong_to_ptr(address);
#if defined(__linux__)
int advice = POSIX_FADV_SEQUENTIAL | // sequential data access