Use W64LIT instead of word64 cast

This commit is contained in:
Jeffrey Walton 2019-01-08 12:33:13 -05:00
parent 734affe257
commit 3a18d73cc1
No known key found for this signature in database
GPG Key ID: B36AB348921B1838

View File

@ -884,7 +884,7 @@ int crypto_sign_open(byte *m,word64 *mlen,const byte *sm,word64 n,const byte *pk
byte t[32],h[64];
gf p[4],q[4];
*mlen = ~static_cast<word64>(0);
*mlen = ~W64LIT(0);
if (n < 64) return -1;
if (unpackneg(q,pk)) return -1;