commit | ad8453ab0a5b98884074302ba3cc37664791e261 | [log] [tgz] |
---|---|---|
author | Alan Cox <alan@linux.intel.com> | Wed Aug 25 13:26:32 2010 +0100 |
committer | Sage Weil <sage@newdream.net> | Wed Aug 25 12:02:14 2010 -0700 |
tree | 3e90b914db42bfa8b476b1d46aef7baee4adebb3 | |
parent | ac1f12ef569d49b013c3db86e11be7e15d66b1c3 [diff] |
ceph: Fix warnings 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: Alan Cox <alan@linux.intel.com> Signed-off-by: Sage Weil <sage@newdream.net>