Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commiteca0c38

Browse files
committed
Cast some printf arguments to avoid possibly-nonportable behavior.
Per compiler warnings on buildfarm member black_firefly.
1 parent10b2e74 commiteca0c38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/replication/basebackup.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -846,7 +846,7 @@ _tarWriteHeader(const char *filename, const char *linktarget,
846846
}
847847

848848
/* Mode 8 */
849-
sprintf(&h[100],"%07o ",statbuf->st_mode);
849+
sprintf(&h[100],"%07o ",(int)statbuf->st_mode);
850850

851851
/* User ID 8 */
852852
sprintf(&h[108],"%07o ",statbuf->st_uid);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp