Re: [Spice-devel] [PATCH spice-server 01/33] Use PRIxPTR constant for string formatting

2019-01-02 Thread Christophe Fergeau
On Sat, Dec 22, 2018 at 10:02:36AM -0500, Frediano Ziglio wrote: > > > > On Fri, Dec 21, 2018 at 4:03 PM Frediano Ziglio wrote: > > > > > > These constants are meant to be used in format string for size_t > > > types. Use them for portability. > > > > PRI*PTR is for [u]intptr_t. > > > > There

Re: [Spice-devel] [PATCH spice-server 01/33] Use PRIxPTR constant for string formatting

2018-12-22 Thread Frediano Ziglio
> > On Fri, Dec 21, 2018 at 4:03 PM Frediano Ziglio wrote: > > > > These constants are meant to be used in format string for size_t > > types. Use them for portability. > > PRI*PTR is for [u]intptr_t. > > There are some claims that z is supported since VC2015 on stackoverflow. > They are

Re: [Spice-devel] [PATCH spice-server 01/33] Use PRIxPTR constant for string formatting

2018-12-22 Thread Marc-André Lureau
On Fri, Dec 21, 2018 at 4:03 PM Frediano Ziglio wrote: > > These constants are meant to be used in format string for size_t > types. Use them for portability. PRI*PTR is for [u]intptr_t. There are some claims that z is supported since VC2015 on stackoverflow. I assume we are mainly interested

[Spice-devel] [PATCH spice-server 01/33] Use PRIxPTR constant for string formatting

2018-12-21 Thread Frediano Ziglio
These constants are meant to be used in format string for size_t types. Use them for portability. Signed-off-by: Frediano Ziglio --- server/gstreamer-encoder.c | 2 +- server/red-channel.c | 5 +++-- server/red-client.c| 4 ++-- server/red-replay-qxl.c| 4 ++-- server/reds.c