[Spice-devel] [vdagent-win PATCH V3 11/11] g_key_get_string: use size_t for pointer difference

Christophe Fergeau cfergeau at redhat.com
Tue Jan 20 05:23:43 PST 2015


On Tue, Jan 20, 2015 at 03:04:02PM +0200, Uri Lublin wrote:
> On 01/19/2015 07:00 PM, Christophe Fergeau wrote:
> >I don't know if VS has ptrdiff_t readily available which would
> >probably be the best type to use here.
> >
> >Christophe
> 
> Although VS has ptrdiff_t available, it complains:
> file_xfer.cpp
> e:\vdagent\vdagent\file_xfer.cpp(224) : warning C4018: '>=' :
> signed/unsigned mismatch

Ok thanks for all the testing, size_t is fine with me.

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20150120/83029806/attachment.sig>


More information about the Spice-devel mailing list