Skip to content

Commit 7be0449

Browse files
committed
Fix compiler warning from Clang.
Per build farm. Discussion: https://postgr.es/m/20200731062626.GD3317%40paquier.xyz
1 parent 84b1c63 commit 7be0449

File tree

1 file changed

+1
-1
lines changed
  • src/backend/utils/misc

1 file changed

+1
-1
lines changed

src/backend/utils/misc/guc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2238,7 +2238,7 @@ static struct config_int ConfigureNamesInt[] =
22382238
GUC_UNIT_MB
22392239
},
22402240
&min_dynamic_shared_memory,
2241-
0, 0, Min(INT_MAX, SIZE_MAX / 1024 / 1024),
2241+
0, 0, (int) Min((size_t) INT_MAX, SIZE_MAX / (1024 * 1024)),
22422242
NULL, NULL, NULL
22432243
},
22442244

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy