diff options
author | lloyd <[email protected]> | 2011-02-09 15:15:25 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2011-02-09 15:15:25 +0000 |
commit | 5aafb813ed7b3824bc71b2aea22f4268f06ca75e (patch) | |
tree | be94df14b329f746e8653090bc40c1980dc765b5 /src/stream/arc4 | |
parent | 75eff6cba7ac959f0d3b5292aa5ca7e321bf2e0d (diff) |
More VC warning fixes
Diffstat (limited to 'src/stream/arc4')
-rw-r--r-- | src/stream/arc4/arc4.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stream/arc4/arc4.cpp b/src/stream/arc4/arc4.cpp index cd6230022..6eea7bb45 100644 --- a/src/stream/arc4/arc4.cpp +++ b/src/stream/arc4/arc4.cpp @@ -64,7 +64,7 @@ void ARC4::key_schedule(const byte key[], size_t length) clear(); for(size_t i = 0; i != 256; ++i) - state[i] = i; + state[i] = static_cast<byte>(i); for(size_t i = 0, state_index = 0; i != 256; ++i) { |