From 547783e50e93c624b709c58870d70f315c867e82 Mon Sep 17 00:00:00 2001 From: krangelov Date: Wed, 3 Nov 2021 11:50:21 +0100 Subject: [PATCH] PgfDB::ref_count must be size_t --- src/runtime/c/pgf/db.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/c/pgf/db.h b/src/runtime/c/pgf/db.h index 13bb6f7d0..a27730efa 100644 --- a/src/runtime/c/pgf/db.h +++ b/src/runtime/c/pgf/db.h @@ -67,7 +67,7 @@ private: public: // Here we count to how many revisions the client has access. // When the count is zero we release the database. - int ref_count; + size_t ref_count; PGF_INTERNAL_DECL PgfDB(const char* filepath, int flags, int mode); PGF_INTERNAL_DECL ~PgfDB();