]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Use int instead of size_t in procarray.c.
authorFujii Masao <fujii@postgresql.org>
Thu, 16 Sep 2021 03:52:30 +0000 (12:52 +0900)
committerFujii Masao <fujii@postgresql.org>
Thu, 16 Sep 2021 03:54:15 +0000 (12:54 +0900)
commitfe8821ca7da4bc1f72688cece0b7f2c3076d813d
tree6dc340c61221d17d1054fb553673fcfe9420795d
parentd84d62b6225b4af86cd9837b71f6fd2cf33fe80c
Use int instead of size_t in procarray.c.

All size_t variables declared in procarray.c are actually int ones.
Let's use int instead of size_t for those variables. Which would
reduce Wsign-compare compiler warnings.

Back-patch to v14 where commit 941697c3c1 added size_t variables
in procarray.c, to make future back-patching easy though
this patch is classified as refactoring only.

Reported-by: Ranier Vilela
Author: Ranier Vilela, Aleksander Alekseev
https://postgr.es/m/CAEudQAqyoTZC670xWi6w-Oe2_Bk1bfu2JzXz6xRfiOUzm7xbyQ@mail.gmail.com
src/backend/storage/ipc/procarray.c