Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit a9da3fe

Browse files
committed
Suppress compiler warnings about pid_t vs int.
1 parent 3da29a8 commit a9da3fe

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/backend/utils/init/miscinit.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/utils/init/miscinit.c,v 1.66 2001/05/08 21:06:43 petere Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/utils/init/miscinit.c,v 1.67 2001/05/18 17:49:52 tgl Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -587,12 +587,12 @@ CreateLockFile(const char *filename, bool amPostmaster,
587587
fprintf(stderr,
588588
"Is another %s (pid %d) running in \"%s\"?\n",
589589
(encoded_pid < 0 ? "postgres" : "postmaster"),
590-
other_pid, refName);
590+
(int) other_pid, refName);
591591
else
592592
fprintf(stderr,
593593
"Is another %s (pid %d) using \"%s\"?\n",
594594
(encoded_pid < 0 ? "postgres" : "postmaster"),
595-
other_pid, refName);
595+
(int) other_pid, refName);
596596
return false;
597597
}
598598
}

0 commit comments

Comments
 (0)