diff options
author | Jose <jose@zeroc.com> | 2014-10-30 16:03:47 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2014-10-30 16:03:47 +0100 |
commit | da8c267316512436ba19f28fa42510be305093f6 (patch) | |
tree | 935f3eefd77e909c847a44883fef38fce4bda48d /cpp/src/IceStorm/Parser.cpp | |
parent | Merge branch 'master' of ssh://git/home/git/ice (diff) | |
download | ice-da8c267316512436ba19f28fa42510be305093f6.tar.bz2 ice-da8c267316512436ba19f28fa42510be305093f6.tar.xz ice-da8c267316512436ba19f28fa42510be305093f6.zip |
ICE-5804 - Warnings when building with GCC (Eliminate C style casts)
Diffstat (limited to 'cpp/src/IceStorm/Parser.cpp')
-rw-r--r-- | cpp/src/IceStorm/Parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/IceStorm/Parser.cpp b/cpp/src/IceStorm/Parser.cpp index 462a46dca03..d8ea7429dd4 100644 --- a/cpp/src/IceStorm/Parser.cpp +++ b/cpp/src/IceStorm/Parser.cpp @@ -480,7 +480,7 @@ Parser::getInput(char* buf, int& result, int maxSize) } } - result = (int) line.length(); + result = static_cast<int>(line.length()); if(result > maxSize) { error("input line too long"); |