diff options
author | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:07:15 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:07:15 +0200 |
commit | 8318453bf9d4fd50b137ff6c6fc8d1fd22aa6395 (patch) | |
tree | 975c6e590c31e56007006a23e7b15d0245d75b08 /shared/globalFunctions.cpp | |
parent | 3.6 (diff) | |
download | FreeFileSync-8318453bf9d4fd50b137ff6c6fc8d1fd22aa6395.tar.gz FreeFileSync-8318453bf9d4fd50b137ff6c6fc8d1fd22aa6395.tar.bz2 FreeFileSync-8318453bf9d4fd50b137ff6c6fc8d1fd22aa6395.zip |
3.7
Diffstat (limited to 'shared/globalFunctions.cpp')
-rw-r--r-- | shared/globalFunctions.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shared/globalFunctions.cpp b/shared/globalFunctions.cpp index 9cfa6fff..c02a1d77 100644 --- a/shared/globalFunctions.cpp +++ b/shared/globalFunctions.cpp @@ -32,9 +32,9 @@ double globalFunctions::wxStringToDouble(const wxString& number) } -unsigned int globalFunctions::getDigitCount(const unsigned int number) //count number of digits +size_t globalFunctions::getDigitCount(size_t number) //count number of digits { - return number == 0 ? 1 : static_cast<unsigned int>(::log10(static_cast<double>(number))) + 1; + return number == 0 ? 1 : static_cast<size_t>(::log10(static_cast<double>(number))) + 1; } |