diff options
| author | Jeffrey Walton <noloader@gmail.com> | 2015-07-26 01:17:36 -0400 |
|---|---|---|
| committer | Jeffrey Walton <noloader@gmail.com> | 2015-07-26 01:17:36 -0400 |
| commit | c109e8dd2890cbe6c5837bc3ed6040680a20a6d4 (patch) | |
| tree | ebce4ab068c44fe5b6b6aa7b092ff113e24ab255 /ttmac.cpp | |
| parent | 4d5be2d6901a6c1422510c783ed5808737640ba1 (diff) | |
| download | cryptopp-git-c109e8dd2890cbe6c5837bc3ed6040680a20a6d4.tar.gz | |
Cleared "signed/unsigned" warning under GCC 4.8 (this may have been a GCC 4.8/Debian-i686 issue because both types were unsigned)
Diffstat (limited to 'ttmac.cpp')
| -rw-r--r-- | ttmac.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -37,7 +37,9 @@ void TTMAC_Base::TruncatedFinal(byte *hash, size_t size) word32 t2 = m_digest[2]; word32 t3 = m_digest[3]; - if (size != DIGESTSIZE) + + // Signed/unsigned warning and GCC 4.8 issue under Debian/i386? + if (size != static_cast<size_t>(DIGESTSIZE)) { switch (size) { |
