[ofa-general] Re: [PATCH] libibmad: eliminate compiler warnings on x86_64
Sasha Khapyorsky
sashak at voltaire.com
Fri Sep 26 15:39:40 PDT 2008
On 16:59 Wed 24 Sep , Jack Morgenstein wrote:
> libibmad: eliminate compiler warnings on x86_64
>
> The snprintf's below generated warnings of the form:
> warning: format '%010lx' expects type 'long unsigned int', but argument 4 has type 'long long unsigned int'
> on 64-bit systems -- due to the influence of the <>llu constants. Casting solves this.
>
> Signed-off-by: Jack Morgenstein <jackm at dev.mellanox.co.il>
Applied. Thanks.
Sasha
More information about the general
mailing list