aboutsummaryrefslogtreecommitdiffstats
path: root/src/codec
diff options
context:
space:
mode:
authorlloyd <[email protected]>2011-04-18 18:35:38 +0000
committerlloyd <[email protected]>2011-04-18 18:35:38 +0000
commitc4bedb32c0547e8f6b67ece566050073726120f5 (patch)
tree17183000888bda5156637360d10d9901ced3565b /src/codec
parent06a32c91e639cc2b0c636553a8aa395aa90d4d37 (diff)
Maintainer mode warning cleanups, mostly for C style casts which I
added to the flags here.
Diffstat (limited to 'src/codec')
-rw-r--r--src/codec/hex/hex.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/codec/hex/hex.cpp b/src/codec/hex/hex.cpp
index 596e0e235..49d6e7190 100644
--- a/src/codec/hex/hex.cpp
+++ b/src/codec/hex/hex.cpp
@@ -101,7 +101,7 @@ size_t hex_decode(byte output[],
for(size_t i = 0; i != input_length; ++i)
{
- const byte bin = HEX_TO_BIN[(byte)input[i]];
+ const byte bin = HEX_TO_BIN[static_cast<byte>(input[i])];
if(bin >= 0x10)
{