tdb: fix logging of offets and lengths.
commit3bd686c5ad4756af1033ac14ba09a40156cc6d47
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 28 May 2013 07:23:56 +0000 (28 16:53 +0930)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 28 May 2013 09:22:14 +0000 (28 11:22 +0200)
tree55d7d61637fa477e542f2d8c291835be0f8a415c
parent5a633dd6bb5be817c6b421df0c098e3428a20773
tdb: fix logging of offets and lengths.

We can have offsets > 2G, so use unsigned values.  Fixes other prints to be
native types rather than casts, too.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Tue May 28 11:22:14 CEST 2013 on sn-devel-104
lib/tdb/common/check.c
lib/tdb/common/dump.c
lib/tdb/common/freelist.c
lib/tdb/common/io.c
lib/tdb/common/lock.c
lib/tdb/common/summary.c
lib/tdb/common/transaction.c