aboutsummaryrefslogtreecommitdiffstats
path: root/src/cms/cms_enc.cpp
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/cms/cms_enc.cpp
parent06a32c91e639cc2b0c636553a8aa395aa90d4d37 (diff)
Maintainer mode warning cleanups, mostly for C style casts which I
added to the flags here.
Diffstat (limited to 'src/cms/cms_enc.cpp')
-rw-r--r--src/cms/cms_enc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cms/cms_enc.cpp b/src/cms/cms_enc.cpp
index cd739ef08..1a45a6a46 100644
--- a/src/cms/cms_enc.cpp
+++ b/src/cms/cms_enc.cpp
@@ -30,7 +30,7 @@ void CMS_Encoder::set_data(const byte buf[], size_t length)
*/
void CMS_Encoder::set_data(const std::string& str)
{
- set_data((const byte*)str.c_str(), str.length());
+ set_data(reinterpret_cast<const byte*>(str.c_str()), str.length());
}
/*