Avoid cast in PtrDiff

ptrdiff_t is the return type
This commit is contained in:
Jeffrey Walton 2018-07-10 11:36:48 -04:00
parent 9e50eae673
commit 3b6872a8cd
No known key found for this signature in database
GPG Key ID: B36AB348921B1838

View File

@ -166,8 +166,9 @@ class CRYPTOPP_DLL CRYPTOPP_NO_VTABLE CFB_ModePolicy : public ModePolicyCommonTe
{
public:
CRYPTOPP_STATIC_CONSTEXPR const char* CRYPTOPP_API StaticAlgorithmName() {return "CFB";}
virtual ~CFB_ModePolicy() {}
virtual ~CFB_ModePolicy() {}
CFB_ModePolicy() : m_feedbackSize(0) {}
IV_Requirement IVRequirement() const {return RANDOM_IV;}
protected: