Flexible I/O Tester development
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: Bruce Cran <bruce@cran.org.uk>, fio@vger.kernel.org
Subject: Re: hash.h warning - left shift count
Date: Wed, 25 May 2016 13:20:16 -0600	[thread overview]
Message-ID: <5745FAF0.5020606@kernel.dk> (raw)
In-Reply-To: <531cbdb4-b115-c103-5eac-f83fa1b3119f@cran.org.uk>

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



      reply	other threads:[~2016-05-25 19:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-25  1:38 hash.h warning - left shift count Bruce Cran
2016-05-25 19:20 ` Jens Axboe [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5745FAF0.5020606@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=bruce@cran.org.uk \
    --cc=fio@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox