diff options
author | Daniel Franke <franke@edf-online.de> | 2018-05-18 19:59:46 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-06-22 13:00:34 (GMT) |
commit | 5b0f73a15a7b49461123a969bbebceff4284df9c (patch) | |
tree | fb9b32ce694a969018ffb0edf604227ea6a7a630 /Source/cmExprParserHelper.cxx | |
parent | 963b8d9f6c1c4bcce2a82ade137a82b17ef75780 (diff) | |
download | CMake-5b0f73a15a7b49461123a969bbebceff4284df9c.zip CMake-5b0f73a15a7b49461123a969bbebceff4284df9c.tar.gz CMake-5b0f73a15a7b49461123a969bbebceff4284df9c.tar.bz2 |
math: Use 64-bit integer type for computation
Diffstat (limited to 'Source/cmExprParserHelper.cxx')
-rw-r--r-- | Source/cmExprParserHelper.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmExprParserHelper.cxx b/Source/cmExprParserHelper.cxx index fe7159a..c68ebc0 100644 --- a/Source/cmExprParserHelper.cxx +++ b/Source/cmExprParserHelper.cxx @@ -13,6 +13,7 @@ cmExprParserHelper::cmExprParserHelper() { this->FileLine = -1; this->FileName = nullptr; + this->Result = 0; } cmExprParserHelper::~cmExprParserHelper() @@ -85,7 +86,7 @@ void cmExprParserHelper::Error(const char* str) this->ErrorString = ostr.str(); } -void cmExprParserHelper::SetResult(int value) +void cmExprParserHelper::SetResult(KWIML_INT_int64_t value) { this->Result = value; } |