Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

+1-1
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)