Fix compilation warning on 32-bit systems.

On 32-bit systems size_t is a 32-bit type which causes the following warning:
warning: large integer implicitly truncated to unsigned type [-Woverflow]

There's no reason have size_t storage variable for uint64_t accessors.
This commit is contained in:
Andrij Abyzov 2018-03-07 16:23:38 +01:00 committed by GitHub
parent 4da8234737
commit c9fe25907f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -438,7 +438,7 @@ public:
}
private:
size_t maxItems;
uint64_t maxItems;
};
/**
@ -492,7 +492,7 @@ public:
}
private:
size_t maxProperties;
uint64_t maxProperties;
};
/**