try to fix 32bit build with some gcc compilers
This commit is contained in:
1 parent
86a3b89c16
commit
7733f34e94
1 file changed
+1
-1
@@ -25,7 +25,7 @@ public:
|
||||
{
|
||||
#define HPCAIRO_MAX_64 18446744073709551615.0
|
||||
double fhi = floor (value);
|
||||
int64_t hi = fhi;
|
||||
int64_t hi = lround(fhi);
|
||||
uint64_t lo = (uint64_t) ((value - fhi) * HPCAIRO_MAX_64);
|
||||
_v.hi = hi;
|
||||
_v.lo = lo;
|
||||
|
||||
Reference in new issue
Block a user