diff options
Diffstat (limited to 'Source/cmServerProtocol.cxx')
-rw-r--r-- | Source/cmServerProtocol.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmServerProtocol.cxx b/Source/cmServerProtocol.cxx index cb5e6ae..dbcc682 100644 --- a/Source/cmServerProtocol.cxx +++ b/Source/cmServerProtocol.cxx @@ -742,7 +742,7 @@ static Json::Value DumpBacktrace(const cmListFileBacktrace& backtrace) Json::Value entry = Json::objectValue; entry[kPATH_KEY] = backtraceCopy.Top().FilePath; if (backtraceCopy.Top().Line) { - entry[kLINE_NUMBER_KEY] = (int)backtraceCopy.Top().Line; + entry[kLINE_NUMBER_KEY] = static_cast<int>(backtraceCopy.Top().Line); } if (!backtraceCopy.Top().Name.empty()) { entry[kNAME_KEY] = backtraceCopy.Top().Name; |