On Wed, Aug 27, 2014 at 10:27:19AM +1200, Chris Packham wrote:
> On Wed, Aug 27, 2014 at 2:02 AM, Alexey Brodkin
> wrote:
> > bounce_buffer->len_aligned is of type "size_t", but on some arches/compilers
> > "size_t" might be an alias to whether "int", "long" or their
> > "signed/unsigned"
> > fla
On Wed, Aug 27, 2014 at 2:02 AM, Alexey Brodkin
wrote:
> bounce_buffer->len_aligned is of type "size_t", but on some arches/compilers
> "size_t" might be an alias to whether "int", "long" or their "signed/unsigned"
> flavors.
>
> So to make compiler happy we explicitly cast to "int" which is expec
bounce_buffer->len_aligned is of type "size_t", but on some arches/compilers
"size_t" might be an alias to whether "int", "long" or their "signed/unsigned"
flavors.
So to make compiler happy we explicitly cast to "int" which is expected in
printf for "%d" format.
this fixes following warning:
---
3 matches
Mail list logo