Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c11b8dc commit cd54eb2Copy full SHA for cd54eb2
contrib/pgbench/pgbench.c
@@ -1,5 +1,5 @@
1
/*
2
- * $PostgreSQL: pgsql/contrib/pgbench/pgbench.c,v 1.68 2007/07/06 20:17:02 wieck Exp $
+ * $PostgreSQL: pgsql/contrib/pgbench/pgbench.c,v 1.69 2007/07/15 22:34:26 tgl Exp $
3
*
4
* pgbench: a simple benchmark program for PostgreSQL
5
* written by Tatsuo Ishii
@@ -1442,7 +1442,7 @@ main(int argc, char **argv)
1442
{
1443
char logpath[64];
1444
1445
- snprintf(logpath, 64, "pgbench_log.%d", getpid());
+ snprintf(logpath, 64, "pgbench_log.%d", (int) getpid());
1446
LOGFILE = fopen(logpath, "w");
1447
1448
if (LOGFILE == NULL)
0 commit comments