summaryrefslogtreecommitdiff
path: root/algparam.h
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2009-03-02 05:23:21 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2009-03-02 05:23:21 +0000
commit94ee86bbf6d35476281a7012136e7c74c1693231 (patch)
tree4ce0dd13eaeec0013674bacc126535892e84bf06 /algparam.h
parentcaf9e032e6b4ccb114a74a3936c916bcfaba262d (diff)
downloadcryptopp-94ee86bbf6d35476281a7012136e7c74c1693231.tar.gz
fix compile on non-x86
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@434 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'algparam.h')
-rw-r--r--algparam.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/algparam.h b/algparam.h
index 80bbbc6..5728cce 100644
--- a/algparam.h
+++ b/algparam.h
@@ -373,7 +373,7 @@ protected:
member_ptr<AlgorithmParametersBase> & Next() const {return const_cast<AlgorithmParameters *>(this)->Next();}
bool m_constructed, m_defaultThrowIfNotUsed;
- char m_first[sizeof(AlgorithmParametersBase) + 16];
+ size_t m_first[(sizeof(AlgorithmParametersBase) + 19)/sizeof(size_t)];
};
//! Create an object that implements NameValuePairs for passing parameters