Content-Length: 253672 | pFad | http://github.com/postgrespro/postgres/commit/aa37a439db6bd328d68ce815ab9e12467f42493b

86 Fix compilation warning in ipci.c · postgrespro/postgres@aa37a43 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/aa37a439db6bd328d68ce815ab9e12467f42493b

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy