From 35bd980bd12393e3cf3796d2d6b435cd0d0ab189 Mon Sep 17 00:00:00 2001 From: Kane York Date: Thu, 26 Nov 2020 17:19:01 -0800 Subject: fix(tvix): sqlite bind argument number is signed 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 Reviewed-by: glittershark --- third_party/nix/src/libstore/sqlite.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'third_party/nix/src') 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: -- cgit 1.4.1