Re: hash.h warning - left shift count

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe fio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux