summaryrefslogtreecommitdiff
path: root/algparam.h
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2009-03-02 05:23:21 +0000
committerweidai <weidai11@users.noreply.github.com>2009-03-02 05:23:21 +0000
commit7d88bbd9edd5a084b34be61a933789412821db0d (patch)
tree4ce0dd13eaeec0013674bacc126535892e84bf06 /algparam.h
parentd8a644fc4ee2af9dc62f2a8c167b023d0c71d13b (diff)
downloadcryptopp-git-7d88bbd9edd5a084b34be61a933789412821db0d.tar.gz
fix compile on non-x86
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 80bbbc64..5728cce2 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