]> git.ozlabs.org Git - ccan/blobdiff - ccan/tdb2/private.h
tdb2: fix tdb_lock offset.
[ccan] / ccan / tdb2 / private.h
index 6a742496971303a256b41779956669195ae7f3ca..3397e04c4c4391d43bbab3e401e5a3bd0de57acf 100644 (file)
@@ -283,7 +283,7 @@ enum tdb_lock_flags {
 
 struct tdb_lock {
        struct tdb_context *owner;
 
 struct tdb_lock {
        struct tdb_context *owner;
-       uint32_t off;
+       off_t off;
        uint32_t count;
        uint32_t ltype;
 };
        uint32_t count;
        uint32_t ltype;
 };