diff options
author | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2007-05-04 16:00:58 +0000 |
---|---|---|
committer | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2007-05-04 16:00:58 +0000 |
commit | 5c9fa90aa4b3e94b66aba2fe78b358f9ab12f16e (patch) | |
tree | 75793999e3f57d6dfb731b0d3a241a553f1153ad /rng.cpp | |
parent | 991680f3e33206cd70514c85f3a0cb40a964a7b5 (diff) | |
download | cryptopp-5c9fa90aa4b3e94b66aba2fe78b358f9ab12f16e.tar.gz |
fix warning
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@344 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'rng.cpp')
-rw-r--r-- | rng.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -108,7 +108,7 @@ void X917RNG::GenerateIntoBufferedTransformation(BufferedTransformation &target, throw SelfTestFailure("X917RNG: Continuous random number generator test failed."); // output random bytes - size_t len = UnsignedMin(size, S); + size_t len = UnsignedMin(S, size); target.ChannelPut(channel, randseed, len); size -= len; |