[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080716.130007.11761812.davem@davemloft.net>
Date: Wed, 16 Jul 2008 13:00:07 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: tomasw@...il.com
Cc: linville@...driver.com, linux-wireless@...r.kernel.org,
netdev@...r.kernel.org
Subject: Re: pull request: wireless-next-2.6 2008-07-14
From: "Tomas Winkler" <tomasw@...il.com>
Date: Wed, 16 Jul 2008 15:49:34 +0300
> On Tue, Jul 15, 2008 at 6:45 AM, David Miller <davem@...emloft.net> wrote:
> > From: "John W. Linville" <linville@...driver.com>
> > Date: Mon, 14 Jul 2008 15:23:02 -0400
> >
> > drivers/net/wireless/iwlwifi/iwl-led.c:271: warning: format '%lld' expects type 'long long int', but argument 6 has type 's64'
> > drivers/net/wireless/iwlwifi/iwl-led.c:271: warning: format '%lld' expects type 'long long int', but argument 7 has type 'u64'
>
> I cannot reproduce this. Wasn't this conversion already solved or
> still need to cast to long long int?
You have to cast u64/s64 values to long long if you want to print them
using %llX specifiers, because some 64-bit platforms define these
types as plain "long".
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists