jsonapi: Use size_t

Peter Eisentraut <peter@eisentraut.org>

Commit: 0b06bf9fa972e2964401622f1bb4c611dbe92bd5
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2024-06-21T05:53:30Z
Releases: 17.0
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

Files

PathChange+/−
src/common/jsonapi.c modified +12 −12
src/common/parse_manifest.c modified +1 −1
src/include/common/jsonapi.h modified +4 −4
src/include/common/parse_manifest.h modified +1 −1

Discussion