playlog.c: Use const macro for byteswapping const expression.

This commit is contained in:
Erik Larsson 2016-01-29 10:49:52 +01:00
parent 81fce3b70e
commit ee4c48f4b1

View File

@ -790,7 +790,7 @@ static int adjust_high_vcn(ntfs_volume *vol, ATTR_RECORD *attr)
int err; int err;
err = 1; err = 1;
attr->highest_vcn = cpu_to_sle64(0); attr->highest_vcn = const_cpu_to_sle64(0);
rl = ntfs_mapping_pairs_decompress(vol, attr, (runlist_element*)NULL); rl = ntfs_mapping_pairs_decompress(vol, attr, (runlist_element*)NULL);
if (rl) { if (rl) {
xrl = rl; xrl = rl;