Whamcloud - gitweb
LU-3289 ssk: fix SK_IV_REV_START on 32-bit systems
[fs/lustre-release.git] / lustre / ptlrpc / gss / gss_sk_mech.c
index f88e576..9bae7b8 100644 (file)
@@ -59,7 +59,7 @@
  * use the the negative range of a 64-bit number and regular contexts use the
  * postive range.  If the same IV/nonce combination were reused it would leak
  * information about the plaintext. */
-#define SK_IV_REV_START (1UL << 63)
+#define SK_IV_REV_START (1ULL << 63)
 
 struct sk_ctx {
        __u16                   sc_hmac;