From 1f70e51e08eb718112633671c3d75692ff860a2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20H=C3=B6glinger-Stelzer?= Date: Thu, 9 Jun 2022 05:04:23 +0200 Subject: [PATCH] Fixed 32-bit integer overflow --- src/CouchDB.Driver/Types/Sizes.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/CouchDB.Driver/Types/Sizes.cs b/src/CouchDB.Driver/Types/Sizes.cs index 1f1479b..13847f2 100644 --- a/src/CouchDB.Driver/Types/Sizes.cs +++ b/src/CouchDB.Driver/Types/Sizes.cs @@ -11,18 +11,18 @@ public sealed class Sizes /// The size of the database file on disk in bytes. Views indexes are not included in the calculation. /// [JsonProperty("file")] - public int File { get; internal set; } + public long File { get; internal set; } /// /// The uncompressed size of database contents in bytes. /// [JsonProperty("external")] - public int External { get; internal set; } + public long External { get; internal set; } /// /// The size of live data inside the database, in bytes. /// [JsonProperty("active")] - public int Active { get; internal set; } + public long Active { get; internal set; } } } \ No newline at end of file