about summary refs log tree commit diff
path: root/third_party/nix
diff options
context:
space:
mode:
authorKane York <kanepyork@gmail.com>2020-11-27T01·19-0800
committerkanepyork <rikingcoding@gmail.com>2020-11-27T18·34+0000
commit35bd980bd12393e3cf3796d2d6b435cd0d0ab189 (patch)
tree3a07bd82be72a25c12d9a385b0e234f3f0706e8e /third_party/nix
parent73ea04903734a67880ce200eaa34f97ccd9fbe70 (diff)
fix(tvix): sqlite bind argument number is signed r/1929
third_party/nix/src/libstore/sqlite.cc:89:33: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions]

Change-Id: I1dbc01acaecc4f382f63e7108429cd814ff05f4f
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2155
Tested-by: BuildkiteCI
Reviewed-by: tazjin <mail@tazj.in>
Reviewed-by: glittershark <grfn@gws.fyi>
Diffstat (limited to 'third_party/nix')
-rw-r--r--third_party/nix/src/libstore/sqlite.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/nix/src/libstore/sqlite.hh b/third_party/nix/src/libstore/sqlite.hh
index c0bc70bfc16d..cad78aed45be 100644
--- a/third_party/nix/src/libstore/sqlite.hh
+++ b/third_party/nix/src/libstore/sqlite.hh
@@ -45,7 +45,7 @@ struct SQLiteStmt {
 
    private:
     SQLiteStmt& stmt;
-    unsigned int curArg = 1;
+    int curArg = 1;
     Use(SQLiteStmt& stmt);
 
    public: