/*
Bacula(R) - The Network Backup Solution
- Copyright (C) 2000-2016 Kern Sibbald
+ Copyright (C) 2000-2019 Kern Sibbald
The original author of Bacula is Kern Sibbald, with contributions
from many others, a complete list can be found in the file AUTHORS.
return result;
}
-static int64_t round(LDOUBLE value)
+static int64_t bround(LDOUBLE value)
{
int64_t intpart;
/* We "cheat" by converting the fractional part to integer by
* multiplying by a factor of 10
*/
- fracpart = round((pow10(max)) * (ufvalue - intpart));
+ fracpart = bround((pow10(max)) * (ufvalue - intpart));
if (fracpart >= pow10(max)) {
intpart++;