ntfscp.c: Fix improper unsigned const endianness macro for signed type.

pull/2/head
Erik Larsson 2021-03-05 14:56:31 +02:00
parent 2ede3b67ee
commit 477a4dfe5e
1 changed files with 1 additions and 1 deletions

View File

@ -1155,7 +1155,7 @@ close_attr:
if (!fstat(fileno(in),&st)) {
s64 change_time = st.st_mtime*10000000LL
+ NTFS_TIME_OFFSET;
out->last_data_change_time = cpu_to_le64(change_time);
out->last_data_change_time = cpu_to_sle64(change_time);
ntfs_inode_update_times(out, 0);
} else {
ntfs_log_error("Failed to get the time stamp.\n");