diff options
author | Mathieu Lacage <Mathieu.Lacage@sophia.inria.fr> | 2006-12-05 03:59:11 +0200 |
---|---|---|
committer | M Joonas Pihlaja <jpihlaja@cc.helsinki.fi> | 2006-12-05 03:59:11 +0200 |
commit | a4f5463cdd5e2b088cd009de332db821ef0bd806 (patch) | |
tree | af75b9c4a6e8c2600040d1c5b4ad672855798c79 /src/cairo-wideint-private.h | |
parent | 94e086b7b9f4129bde3e32b7005e2a33788f334a (diff) |
bugfix: fix cairo-wideint.c uint64_t usage and const return qualifiers
These patches were sent to the cairo mailing list by Mathieu Lacage
<Mathieu.Lacage@sophia.inria.fr>:
http://lists.freedesktop.org/archives/cairo/2006-December/008741.html
_cairo_uint_96by64_32x64_divrem(): fixes misuse of the uint64_t type
and cairo-wideint-private.h functions.
http://lists.freedesktop.org/archives/cairo/2006-December/008742.html
Remove const qualifiers from return types from cairo-wideint.c functions.
http://lists.freedesktop.org/archives/cairo/2006-December/008747.html
Fixes a typo in cairo-wideint-private.h: _cairo_uint128_to_int128_
had an extra trailing underscore.
Diffstat (limited to 'src/cairo-wideint-private.h')
-rw-r--r-- | src/cairo-wideint-private.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-wideint-private.h b/src/cairo-wideint-private.h index 3d5ae13b..7d459ea3 100644 --- a/src/cairo-wideint-private.h +++ b/src/cairo-wideint-private.h @@ -218,7 +218,7 @@ cairo_uint128_t I _cairo_uint128_negate (cairo_uint128_t a); #define _cairo_uint128_negative(a) (_cairo_uint64_negative(a.hi)) cairo_uint128_t I _cairo_uint128_not (cairo_uint128_t a); -#define _cairo_uint128_to_int128_(i) (i) +#define _cairo_uint128_to_int128(i) (i) #define _cairo_int128_to_uint128(i) (i) cairo_int128_t I _cairo_int32_to_int128 (int32_t i); |