try to fix 32bit build with some gcc compilers

This commit is contained in:
Mathieu Lacage committed 2011-04-25 20:21:11 +02:00
1 parent 86a3b89c16
commit 7733f34e94
1 file changed
+1 -1
+1 -1
View File
@@ -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;