aboutsummaryrefslogtreecommitdiff
path: root/fs/ext4/inode-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ext4/inode-test.c')
-rw-r--r--fs/ext4/inode-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/inode-test.c b/fs/ext4/inode-test.c
index 92a9da1774aa..bbce1c328d85 100644
--- a/fs/ext4/inode-test.c
+++ b/fs/ext4/inode-test.c
@@ -25,7 +25,7 @@
* For constructing the negative timestamp lower bound value.
* binary: 10000000 00000000 00000000 00000000
*/
-#define LOWER_MSB_1 (-0x80000000L)
+#define LOWER_MSB_1 (-(UPPER_MSB_0) - 1L) /* avoid overflow */
/*
* For constructing the negative timestamp upper bound value.
* binary: 11111111 11111111 11111111 11111111