Skip to content

Commit aa37a43

Browse files
committed
Fix compilation warning in ipci.c
A Size had better use %zu when printed. Oversight in bd17880, per buildfarm member lapwing.
1 parent bd17880 commit aa37a43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/storage/ipc/ipci.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,6 @@ InitializeShmemGUCs(void)
332332
*/
333333
size_b = CalculateShmemSize(NULL);
334334
size_mb = add_size(size_b, (1024 * 1024) - 1) / (1024 * 1024);
335-
sprintf(buf, "%lu", size_mb);
335+
sprintf(buf, "%zu", size_mb);
336336
SetConfigOption("shared_memory_size", buf, PGC_INTERNAL, PGC_S_OVERRIDE);
337337
}

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