From 1bba793fd64f635b8055a34973cded1f67e958e4 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Wed, 14 Sep 2011 07:08:13 +0930 Subject: tdb2: fix tdb_lock offset. It can be 64 bits, for huge databases. (Imported from CCAN commit 736c033322079baf754261d82b6a83de53b2bb4e) Signed-off-by: Rusty Russell --- lib/tdb2/private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/tdb2/private.h b/lib/tdb2/private.h index 38d5b50218..a18e02b720 100644 --- a/lib/tdb2/private.h +++ b/lib/tdb2/private.h @@ -295,7 +295,7 @@ enum tdb_lock_flags { struct tdb_lock { struct tdb_context *owner; - uint32_t off; + off_t off; uint32_t count; uint32_t ltype; }; -- cgit