diff options
Diffstat (limited to 'cpp/src/Slice/PythonUtil.cpp')
-rw-r--r-- | cpp/src/Slice/PythonUtil.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Slice/PythonUtil.cpp b/cpp/src/Slice/PythonUtil.cpp index 21f8ccd2f9c..c403de42ad5 100644 --- a/cpp/src/Slice/PythonUtil.cpp +++ b/cpp/src/Slice/PythonUtil.cpp @@ -2318,7 +2318,7 @@ Slice::Python::generate(const UnitPtr& un, bool all, bool checksum, const vector str.fill('0'); for(vector<unsigned char>::const_iterator q = p->second.begin(); q != p->second.end(); ++q) { - str << (int)(*q); + str << static_cast<int>(*q); } out << str.str() << "\""; } |