Browse Source

tdb2: fix tdb_lock offset.

It can be 64 bits, for huge databases.
Rusty Russell 14 years ago
parent
commit
736c033322
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ccan/tdb2/private.h

+ 1 - 1
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;
 };