From ee4c48f4b14d75a3fbde3894ba8dc33f0343a909 Mon Sep 17 00:00:00 2001 From: Erik Larsson Date: Fri, 29 Jan 2016 10:49:52 +0100 Subject: [PATCH] playlog.c: Use const macro for byteswapping const expression. --- ntfsprogs/playlog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ntfsprogs/playlog.c b/ntfsprogs/playlog.c index a9932807..642998b4 100644 --- a/ntfsprogs/playlog.c +++ b/ntfsprogs/playlog.c @@ -790,7 +790,7 @@ static int adjust_high_vcn(ntfs_volume *vol, ATTR_RECORD *attr) int err; 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); if (rl) { xrl = rl;