diff options
author | lloyd <[email protected]> | 2007-10-19 18:11:06 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2007-10-19 18:11:06 +0000 |
commit | 807b84081f91f1f0cd5255198ce31745d410c28c (patch) | |
tree | 20574311297aee66974abce1fa138b0116aff5fc /checks/validate.cpp | |
parent | 11d6a889becbb8fe6c2d78dd60b9673b791c17b9 (diff) |
Remove several uses of old style C casts in favor of C++98's static_cast and
reinterpret_cast
Diffstat (limited to 'checks/validate.cpp')
-rw-r--r-- | checks/validate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/checks/validate.cpp b/checks/validate.cpp index b10b53b98..d634d3bb3 100644 --- a/checks/validate.cpp +++ b/checks/validate.cpp @@ -263,7 +263,7 @@ bool failed_test(const std::string& algo, bool OK = true; for(u32bit j = offset; j != offset+length; j++) - if((byte)output[j] != peekbuf[j-offset]) + if(static_cast<byte>(output[j]) != peekbuf[j-offset]) OK = false; if(!OK) |