diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2013-03-23 17:26:57 +1030 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2013-03-23 17:26:57 +1030 |
commit | fd6d0361d6fef5f8175967ddbae4a2b1d79dfcad (patch) | |
tree | 5e97a1803635d8fb5dec4db85c9c8c5450678d17 /lib/ntdb/test | |
parent | 12ebb1ba1599dd30db9376a64530667656b803b8 (diff) | |
download | samba-fd6d0361d6fef5f8175967ddbae4a2b1d79dfcad.tar.gz samba-fd6d0361d6fef5f8175967ddbae4a2b1d79dfcad.tar.bz2 samba-fd6d0361d6fef5f8175967ddbae4a2b1d79dfcad.zip |
vfs_btrfs: fix compile on 32-bit platforms.
uint64_t are not unsigned longs on 32-bit platforms:
[3265/3996] Compiling source3/modules/vfs_btrfs.c
../source3/modules/vfs_btrfs.c: In function ‘btrfs_copy_chunk_send’:
../source3/modules/vfs_btrfs.c:118:3: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64_t’ [-Werror=format]
../source3/modules/vfs_btrfs.c:118:3: error: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘int64_t’ [-Werror=format]
../source3/modules/vfs_btrfs.c:118:3: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘uint64_t’ [-Werror=format]
../source3/modules/vfs_btrfs.c:118:3: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 7 has type ‘uint64_t’ [-Werror=format]
../source3/modules/vfs_btrfs.c: In function ‘btrfs_copy_chunk_recv’:
../source3/modules/vfs_btrfs.c:180:2: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘off_t’ [-Werror=format]
cc1: some warnings being treated as errors
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'lib/ntdb/test')
0 files changed, 0 insertions, 0 deletions