summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ufs/ufs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ufs/ufs.h b/ufs/ufs.h
index 9fa312e6..06255960 100644
--- a/ufs/ufs.h
+++ b/ufs/ufs.h
@@ -189,7 +189,7 @@ extern inline long long
swab_long_long (long long arg)
{
return (((long long) swab_long (arg & 0xffffffff) << 32)
- | swab_long ((arg & 0xffffffff00000000) >> 32));
+ | swab_long ((arg & 0xffffffff00000000lL) >> 32));
}
/* Return ENTRY, after byteswapping it if necessary */