diff options
author | Jeffrey Walton <noloader@gmail.com> | 2018-01-20 19:39:49 -0500 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2018-01-20 19:39:49 -0500 |
commit | 565bd844fcc0dec4712f8c4c3e74e056f4a9ed78 (patch) | |
tree | 9ab43180511b53005490cea580954d9630830f40 /iterhash.h | |
parent | 2816efe188d5f335c4713ab68145d1b9df59452e (diff) | |
download | cryptopp-git-565bd844fcc0dec4712f8c4c3e74e056f4a9ed78.tar.gz |
Clear GCC -Wcast-align warnings on ARM
The buffers and workspaces are aligned
Diffstat (limited to 'iterhash.h')
-rw-r--r-- | iterhash.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -16,6 +16,10 @@ # endif
#endif
+// GCC cast warning
+#define HashWordPtr(x) ((HashWordType*)(void*)(x))
+#define ConstHashWordPtr(x) ((const HashWordType*)(const void*)(x))
+
NAMESPACE_BEGIN(CryptoPP)
/// \brief Exception thrown when trying to hash more data than is allowed by a hash function
|