Skip to content
  • Alan Cox's avatar
    ceph: Fix warnings · ad8453ab
    Alan Cox authored
    
    
    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: default avatarAlan Cox <alan@linux.intel.com>
    Signed-off-by: default avatarSage Weil <sage@newdream.net>
    ad8453ab