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

Commitcd54eb2

Browse files
committed
Fix possible portability problem, per buildfarm warnings.
1 parentc11b8dc commitcd54eb2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎contrib/pgbench/pgbench.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* $PostgreSQL: pgsql/contrib/pgbench/pgbench.c,v 1.68 2007/07/06 20:17:02 wieck Exp $
2+
* $PostgreSQL: pgsql/contrib/pgbench/pgbench.c,v 1.69 2007/07/15 22:34:26 tgl Exp $
33
*
44
* pgbench: a simple benchmark program for PostgreSQL
55
* written by Tatsuo Ishii
@@ -1442,7 +1442,7 @@ main(int argc, char **argv)
14421442
{
14431443
charlogpath[64];
14441444

1445-
snprintf(logpath,64,"pgbench_log.%d",getpid());
1445+
snprintf(logpath,64,"pgbench_log.%d",(int)getpid());
14461446
LOGFILE=fopen(logpath,"w");
14471447

14481448
if (LOGFILE==NULL)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp