* hash.h warning - left shift count
@ 2016-05-25 1:38 Bruce Cran
2016-05-25 19:20 ` Jens Axboe
0 siblings, 1 reply; 2+ messages in thread
From: Bruce Cran @ 2016-05-25 1:38 UTC (permalink / raw)
To: fio
I'm seeing a new compiler warning on Windows. Since 'long' is 32 bits:
hash.h: In function ‘__hash_long’:
hash.h:58:2: warning: left shift count >= width of type
n <<= 33;
^
--
Bruce
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: hash.h warning - left shift count
2016-05-25 1:38 hash.h warning - left shift count Bruce Cran
@ 2016-05-25 19:20 ` Jens Axboe
0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2016-05-25 19:20 UTC (permalink / raw)
To: Bruce Cran, fio
On 05/24/2016 07:38 PM, Bruce Cran wrote:
> I'm seeing a new compiler warning on Windows. Since 'long' is 32 bits:
>
>
> hash.h: In function ‘__hash_long’:
> hash.h:58:2: warning: left shift count >= width of type
> n <<= 33;
> ^
Should be fixed by this:
http://git.kernel.dk/cgit/fio/commit/?id=1bd4cb6b62903c7785d6891d8b40a745b52c609f
--
Jens Axboe
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-05-25 19:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-25 1:38 hash.h warning - left shift count Bruce Cran
2016-05-25 19:20 ` Jens Axboe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox