]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
byteorder: fix gcc 4.7 warnings
authorSage Weil <sage@inktank.com>
Thu, 16 Aug 2012 18:38:46 +0000 (11:38 -0700)
committerSage Weil <sage@inktank.com>
Wed, 16 Jan 2013 03:21:21 +0000 (19:21 -0800)
commit40e0f2dbfcc8c118dfb69f6dbb2913346db964ee
tree039fabbc974553a0b6574846542e87745f3046bc
parentdde83262c1f74dee4ccc09b11b57254c2c3990fc
byteorder: fix gcc 4.7 warnings

./include/encoding.h: In function 'void encode(int64_t, ceph::bufferlist&, uint64_t)':
./include/encoding.h:101:1: warning: narrowing conversion of 'v' from 'int64_t {aka long int}' to '__le64 {aka long long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing]

Signed-off-by: Sage Weil <sage@inktank.com>
src/include/byteorder.h