summaryrefslogtreecommitdiff
path: root/shared/globalFunctions.cpp
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:07:15 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:07:15 +0200
commit8318453bf9d4fd50b137ff6c6fc8d1fd22aa6395 (patch)
tree975c6e590c31e56007006a23e7b15d0245d75b08 /shared/globalFunctions.cpp
parent3.6 (diff)
downloadFreeFileSync-8318453bf9d4fd50b137ff6c6fc8d1fd22aa6395.tar.gz
FreeFileSync-8318453bf9d4fd50b137ff6c6fc8d1fd22aa6395.tar.bz2
FreeFileSync-8318453bf9d4fd50b137ff6c6fc8d1fd22aa6395.zip
3.7
Diffstat (limited to 'shared/globalFunctions.cpp')
-rw-r--r--shared/globalFunctions.cpp4
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;
}
bgstack15