CryptoPP::lword is an unsigned type (the largest unsigned integer type
available). It will be the type returned by MaxRetrievable() in the next
release.
----- Original Message -----
From: "Michael Mertens" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, March 07, 2006 5:17 AM
Subject: Return type of MaxRetrievable()
Hi,
the return type of MaxRetrievable() changed in the CVS from unsigned
long to CryptoPP::lword (revision 1.19). Is there a case where negative
values are returned?
The CRYPTOPP_MAINTAIN_BACKWARDS_COMPATIBILITY switch ignores this problem:
#ifdef CRYPTOPP_MAINTAIN_BACKWARDS_COMPATIBILITY
unsigned long MaxRetrieveable() const {return MaxRetrievable();}
#endif
In the next release, what is the type returned by MaxRetrievable()?
Regards,
Michael