• A
    ceph: Fix warnings · ad8453ab
    Alan Cox 提交于
    Just scrubbing some warnings so I can see real problem ones in the build
    noise. For 32bit we need to coax gcc politely into believing we really
    honestly intend to the casts. Using (u64)(unsigned long) means we cast from
    a pointer to a type of the right size and then extend it. This stops the
    warning spew.
    Signed-off-by: NAlan Cox <alan@linux.intel.com>
    Signed-off-by: NSage Weil <sage@newdream.net>
    ad8453ab
locks.c 6.9 KB