Re: [PATCHv2] storage_encryption: silence clang warning

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

 



On 05/10/2010 02:32 PM, Jim Meyering wrote:
> 
> Using the cast is the lesser evil ;)
> 
>>>
>>> Of course, avoiding casts is good, too, but IMHO, not if
>>> it makes us obfuscate (even ever so slightly) the types we use.
>>
>> Well, the real point of this patch was to silence a compiler warning
>> (not that we'd ever planning on passing an indent > 2G).  Given Dave's
>> ACK, I went ahead and applied v2 as proposed, even if it does slightly
>> obfuscate the usage.
> 
> Warning removal is important.
> But it can end up being counterproductive if not done carefully.

Should I go ahead and revert v2, going back to v1 which localized the
change to just one file?

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]