mirror of
https://github.com/postgres/postgres.git
synced 2025-09-09 13:09:39 +03:00
jsonapi: Use size_t
Use size_t instead of int for object sizes in the jsonapi. This makes the API better self-documenting. Reviewed-by: Andrew Dunstan <andrew@dunslane.net> Discussion: https://www.postgresql.org/message-id/flat/f732b014-f614-4600-a437-dba5a2c3738b%40eisentraut.org
This commit is contained in:
@@ -183,7 +183,7 @@ json_parse_manifest_incremental_shutdown(JsonManifestParseIncrementalState *incs
|
||||
|
||||
void
|
||||
json_parse_manifest_incremental_chunk(
|
||||
JsonManifestParseIncrementalState *incstate, char *chunk, int size,
|
||||
JsonManifestParseIncrementalState *incstate, char *chunk, size_t size,
|
||||
bool is_last)
|
||||
{
|
||||
JsonParseErrorType res,
|
||||
|
Reference in New Issue
Block a user