summaryrefslogtreecommitdiff
path: root/rijndael.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2015-07-26 01:14:59 -0400
committerJeffrey Walton <noloader@gmail.com>2015-07-26 01:14:59 -0400
commit4d5be2d6901a6c1422510c783ed5808737640ba1 (patch)
treecabfc4ad38c9ad2554626adcf723d7d1607d8382 /rijndael.cpp
parent0be4110fe5371901ee952c05b20f3b161a50ba5d (diff)
downloadcryptopp-git-4d5be2d6901a6c1422510c783ed5808737640ba1.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 'rijndael.cpp')
-rw-r--r--rijndael.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/rijndael.cpp b/rijndael.cpp
index 5c5e4e37..cc4720ad 100644
--- a/rijndael.cpp
+++ b/rijndael.cpp
@@ -1193,7 +1193,7 @@ size_t Rijndael::Enc::AdvancedProcessBlocks(const byte *inBlocks, const byte *xo
#if CRYPTOPP_BOOL_SSE2_ASM_AVAILABLE || defined(CRYPTOPP_X64_MASM_AVAILABLE)
if (HasSSE2())
{
- if (length < BLOCKSIZE)
+ if (length < static_cast<size_t>(BLOCKSIZE))
return length;
struct Locals