about summary refs log tree commit diff
path: root/src/libstore/store-api.hh
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2016-03-30T13·50+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2016-03-30T13·50+0200
commit3d119f0a3b65b765a1451796c2b86c0b331d3599 (patch)
treed8c08da0e714a6b93cd897e76553104d7323df8d /src/libstore/store-api.hh
parentd9c5e3bbf027aa380df0b94d820dc499e0ed6ec7 (diff)
Improve the SQLite wrapper API
In particular, this eliminates a bunch of boilerplate code.
Diffstat (limited to '')
-rw-r--r--src/libstore/store-api.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstore/store-api.hh b/src/libstore/store-api.hh
index b7209d4a35ad..7c6e4c0795ed 100644
--- a/src/libstore/store-api.hh
+++ b/src/libstore/store-api.hh
@@ -96,8 +96,8 @@ struct ValidPathInfo
     Hash narHash;
     PathSet references;
     time_t registrationTime = 0;
-    unsigned long long narSize = 0; // 0 = unknown
-    unsigned long long id; // internal use only
+    uint64_t narSize = 0; // 0 = unknown
+    uint64_t id; // internal use only
 
     /* Whether the path is ultimately trusted, that is, it was built
        locally or is content-addressable (e.g. added via addToStore()