vfs_fruit: use off_t, not size_t for TM size calculations
authorRalph Boehme <slow@samba.org>
Thu, 22 Feb 2018 14:52:46 +0000 (15:52 +0100)
committerStefan Metzmacher <metze@samba.org>
Fri, 23 Feb 2018 11:47:25 +0000 (12:47 +0100)
commitf9e2cb1369fa9636ff613a4e9c7387151409eafc
treee758115d1da87d5284acb6c685ff579f74627f9e
parent7f2d45a6c2a88dd8833fc66d314ec21507dd52c3
vfs_fruit: use off_t, not size_t for TM size calculations

size_t is only a 32-bit integer on 32-bit platforms. We must use off_t
for file sizes.

https://bugzilla.samba.org/show_bug.cgi?id=13296

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/modules/vfs_fruit.c