Use uintptr_t for pointer int cast in SMBC_getdents_ctx()
commitd61ba23c36d5127dfdf9c10ac8bc1a0429ed9e30
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Tue, 30 Jun 2015 22:41:34 +0000 (1 10:41 +1200)
committerJeremy Allison <jra@samba.org>
Tue, 21 Jul 2015 03:14:20 +0000 (21 05:14 +0200)
tree4bad006233722f3b0959f091552df155d34f988b
parent64a88f74ca5309dce1d3ec0755ceba4af5144dbd
Use uintptr_t for pointer int cast in SMBC_getdents_ctx()

On i386, unsigned long long is 64 bit while the pointer is 32, and
this fails under autobuild with -WError.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Jul 21 05:14:20 CEST 2015 on sn-devel-104
source3/libsmb/libsmb_dir.c