mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-01-03 09:20:26 +01:00
wideint: Fix build on suncc
"static cairo_private" means nothing and suncc complains loudly about it. The visibility of _cairo_double_to_uint64() and _cairo_uint64_to_double() should just be "static".
This commit is contained in:
parent
01729606fb
commit
ed84cb522c
1 changed files with 2 additions and 2 deletions
|
|
@ -112,8 +112,8 @@ _cairo_uint64_divrem (cairo_uint64_t num, cairo_uint64_t den)
|
|||
* warning: cast from function call of type ‘#cairo_uint64_t’ to
|
||||
* non-matching type ‘double’
|
||||
*/
|
||||
static cairo_always_inline cairo_uint64_t I _cairo_double_to_uint64 (double i) { return i; }
|
||||
static cairo_always_inline double I _cairo_uint64_to_double (cairo_uint64_t i) { return i; }
|
||||
static cairo_always_inline cairo_const cairo_uint64_t _cairo_double_to_uint64 (double i) { return i; }
|
||||
static cairo_always_inline cairo_const double _cairo_uint64_to_double (cairo_uint64_t i) { return i; }
|
||||
|
||||
#define _cairo_uint32_to_uint64(i) ((uint64_t) (i))
|
||||
#define _cairo_uint64_to_uint32(i) ((uint32_t) (i))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue