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/dolook2.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/dolook2.cpp')
-rw-r--r-- | checks/dolook2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/checks/dolook2.cpp b/checks/dolook2.cpp index 53e71dc26..b6c9ba339 100644 --- a/checks/dolook2.cpp +++ b/checks/dolook2.cpp @@ -19,7 +19,7 @@ class S2K_Filter : public Filter { public: void write(const byte in[], u32bit len) - { passphrase += std::string((const char*)in, len); } + { passphrase += std::string(reinterpret_cast<const char*>(in), len); } void end_msg() { s2k->change_salt(salt, salt.size()); |