On 02/29/2012 08:01 PM, Christophe Fergeau wrote: > win64 uses 32 bit long, so we cannot use a long to hold a 64 bit > pointer. Thankfully, there's a [u]intptr_t type available exactly > for these uses. > --- > client/canvas.cpp | 2 +- > client/cursor.cpp | 2 +- > common/draw.h | 4 ++-- > common/pixman_utils.c | 6 +++--- > 4 files changed, 7 insertions(+), 7 deletions(-) > > diff --git a/client/canvas.cpp b/client/canvas.cpp > index 139b663..0986d47 100644 > --- a/client/canvas.cpp > +++ b/client/canvas.cpp > @@ -70,7 +70,7 @@ void Canvas::clear() > > void Canvas::begin_draw(SpiceMsgDisplayBase& base, int size, size_t min_size) > { > - _base = (unsigned long)&base; > + _base = (uintptr_t)&base; > } >
Does Canvas::_base type need to be modified too ? _______________________________________________ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel