Fix compilation warning in ipci.c

A Size had better use %zu when printed.

Oversight in bd17880, per buildfarm member lapwing.
pull/69/merge
Michael Paquier 4 years ago
parent bd1788051b
commit aa37a439db
  1. 2
      src/backend/storage/ipc/ipci.c

@ -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);
}

Loading…
Cancel
Save