diff options
Diffstat (limited to 'src/body.cpp')
-rw-r--r-- | src/body.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/body.cpp b/src/body.cpp index 732fa8b5..e235d49a 100644 --- a/src/body.cpp +++ b/src/body.cpp @@ -520,7 +520,7 @@ const string body::generateRandomBoundaryString() // Generate a string of random characters unsigned int r = utility::random::getTime(); - unsigned int m = sizeof(unsigned int); + unsigned int m = static_cast <unsigned int>(sizeof(unsigned int)); for (size_t i = 2 ; i < (sizeof(boundary) / sizeof(boundary[0]) - 1) ; ++i) { @@ -530,7 +530,7 @@ const string body::generateRandomBoundaryString() if (--m == 0) { r = utility::random::getNext(); - m = sizeof(unsigned int); + m = static_cast <unsigned int>(sizeof(unsigned int)); } } |