diff options
| author | weidai <weidai11@users.noreply.github.com> | 2007-05-04 16:00:58 +0000 |
|---|---|---|
| committer | weidai <weidai11@users.noreply.github.com> | 2007-05-04 16:00:58 +0000 |
| commit | 56f907ca360a99ecc225e0326cf4288b601923df (patch) | |
| tree | 75793999e3f57d6dfb731b0d3a241a553f1153ad /rng.cpp | |
| parent | 26c7e0bd0ad84cf794fd4403393a0b4843ada821 (diff) | |
| download | cryptopp-git-56f907ca360a99ecc225e0326cf4288b601923df.tar.gz | |
fix warning
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; |
