From: Rusty Russell Date: Wed, 31 Aug 2011 01:12:12 +0000 (+0930) Subject: tdb2: fix tdb_lock offset. X-Git-Url: https://git.ozlabs.org/?p=ccan;a=commitdiff_plain;h=736c033322079baf754261d82b6a83de53b2bb4e tdb2: fix tdb_lock offset. It can be 64 bits, for huge databases. --- diff --git a/ccan/tdb2/private.h b/ccan/tdb2/private.h index 6a742496..3397e04c 100644 --- a/ccan/tdb2/private.h +++ b/ccan/tdb2/private.h @@ -283,7 +283,7 @@ enum tdb_lock_flags { struct tdb_lock { struct tdb_context *owner; - uint32_t off; + off_t off; uint32_t count; uint32_t ltype; };