Fix compiler warning from Clang.

Per build farm.

Discussion: https://postgr.es/m/20200731062626.GD3317%40paquier.xyz
This commit is contained in:
Thomas Munro 2020-07-31 19:08:09 +12:00
parent 84b1c63ad4
commit 7be04496a9

View File

@ -2238,7 +2238,7 @@ static struct config_int ConfigureNamesInt[] =
GUC_UNIT_MB
},
&min_dynamic_shared_memory,
0, 0, Min(INT_MAX, SIZE_MAX / 1024 / 1024),
0, 0, (int) Min((size_t) INT_MAX, SIZE_MAX / (1024 * 1024)),
NULL, NULL, NULL
},