Re: [Spice-devel] [PATCH spice-server] dcc: Use more portable mnemonic

2017-06-06 Thread Frediano Ziglio
> > Hi, > > On Tue, Jun 06, 2017 at 09:40:31AM +0100, Frediano Ziglio wrote: > > The maximum value for a 32 bit variable is UINT32_MAX and not > > UINT_MAX. Currently all supported platforms have these two > > constants having the same value so this patch don't change > > nothing in the generated

Re: [Spice-devel] [PATCH spice-server] dcc: Use more portable mnemonic

2017-06-06 Thread Victor Toso
Hi, On Tue, Jun 06, 2017 at 09:40:31AM +0100, Frediano Ziglio wrote: > The maximum value for a 32 bit variable is UINT32_MAX and not > UINT_MAX. Currently all supported platforms have these two > constants having the same value so this patch don't change > nothing in the generated code but potenti

[Spice-devel] [PATCH spice-server] dcc: Use more portable mnemonic

2017-06-06 Thread Frediano Ziglio
The maximum value for a 32 bit variable is UINT32_MAX and not UINT_MAX. Currently all supported platforms have these two constants having the same value so this patch don't change nothing in the generated code but potentially this could change in a future. Signed-off-by: Frediano Ziglio --- serv