Re: [Spice-devel] [PATCH] Fix compile errors on Linux 32bit system

2019-06-11 Thread Hongzhi, Song
On 6/10/19 9:00 PM, Frediano Ziglio wrote: On 6/5/19 6:18 AM, Hongzhi.Song wrote: There are folowing compile errors on Linux 32bit system with -Werror for gcc. red-channel.c:207:73: error: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'long unsigned int' [-Werror

Re: [Spice-devel] [PATCH] Fix compile errors on Linux 32bit system

2019-06-10 Thread Frediano Ziglio
> > On 6/5/19 6:18 AM, Hongzhi.Song wrote: > > There are folowing compile errors on Linux 32bit system with -Werror > > for gcc. > > > > red-channel.c:207:73: error: format '%x' expects argument of type > > 'unsigned int', but argument 7 has type 'long unsigned int' > > [-Werror=format=] > > |207

Re: [Spice-devel] [PATCH] Fix compile errors on Linux 32bit system

2019-06-10 Thread Uri Lublin
On 6/5/19 6:18 AM, Hongzhi.Song wrote: There are folowing compile errors on Linux 32bit system with -Werror for gcc. red-channel.c:207:73: error: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'long unsigned int' [-Werror=format=] |207| red_channel_debug(self, "thre

[Spice-devel] [PATCH] Fix compile errors on Linux 32bit system

2019-06-06 Thread Hongzhi.Song
There are folowing compile errors on Linux 32bit system with -Werror for gcc. red-channel.c:207:73: error: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'long unsigned int' [-Werror=format=] |207| red_channel_debug(self, "thread_id 0x%" G_GSIZE_MODIFIER "x",