Fix compilation warning in ipci.c

A Size had better use %zu when printed.

Oversight in bd17880, per buildfarm member lapwing.
This commit is contained in:
Michael Paquier 2021-09-08 14:22:52 +09:00
parent bd1788051b
commit aa37a439db

View File

@ -332,6 +332,6 @@ InitializeShmemGUCs(void)
*/
size_b = CalculateShmemSize(NULL);
size_mb = add_size(size_b, (1024 * 1024) - 1) / (1024 * 1024);
sprintf(buf, "%lu", size_mb);
sprintf(buf, "%zu", size_mb);
SetConfigOption("shared_memory_size", buf, PGC_INTERNAL, PGC_S_OVERRIDE);
}