Clear early GCC warning

This commit is contained in:
Jeffrey Walton 2019-01-08 03:04:11 -05:00
parent 800af2323c
commit cc4009450a
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
2 changed files with 2 additions and 1 deletions

View File

@ -237,6 +237,7 @@ cryptopp.dump: cryptlib.lib
cryptopp.map:
$(LD) $(LDFLAGS) /DLL /MAP /MAPINFO:EXPORTS $(LIB_OBJS)
mv cryptlib.map cryptopp.map
get-content somefile.txt | %{$_ -replace "cryptlib","cryptopp"}
cryptopp.def: cryptopp.dump
dump2def.exe cryptopp.dump cryptopp.def

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 = -1;
*mlen = ~static_cast<word64>(0);
if (n < 64) return -1;
if (unpackneg(q,pk)) return -1;