selftests/mlock2: add ULL suffix to 64-bit constants
[cascardo/linux.git] / tools / testing / selftests / vm / mlock2-tests.c
index cb24721..02ca5e0 100644 (file)
@@ -277,8 +277,8 @@ out:
        return ret;
 }
 
-#define PRESENT_BIT     0x8000000000000000
-#define PFN_MASK        0x007FFFFFFFFFFFFF
+#define PRESENT_BIT     0x8000000000000000ULL
+#define PFN_MASK        0x007FFFFFFFFFFFFFULL
 #define UNEVICTABLE_BIT (1UL << 18)
 
 static int lock_check(char *map)