Commit a9da3fed authored by Tom Lane's avatar Tom Lane

Suppress compiler warnings about pid_t vs int.

parent 3da29a8b
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/init/miscinit.c,v 1.66 2001/05/08 21:06:43 petere Exp $ * $Header: /cvsroot/pgsql/src/backend/utils/init/miscinit.c,v 1.67 2001/05/18 17:49:52 tgl Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -587,12 +587,12 @@ CreateLockFile(const char *filename, bool amPostmaster, ...@@ -587,12 +587,12 @@ CreateLockFile(const char *filename, bool amPostmaster,
fprintf(stderr, fprintf(stderr,
"Is another %s (pid %d) running in \"%s\"?\n", "Is another %s (pid %d) running in \"%s\"?\n",
(encoded_pid < 0 ? "postgres" : "postmaster"), (encoded_pid < 0 ? "postgres" : "postmaster"),
other_pid, refName); (int) other_pid, refName);
else else
fprintf(stderr, fprintf(stderr,
"Is another %s (pid %d) using \"%s\"?\n", "Is another %s (pid %d) using \"%s\"?\n",
(encoded_pid < 0 ? "postgres" : "postmaster"), (encoded_pid < 0 ? "postgres" : "postmaster"),
other_pid, refName); (int) other_pid, refName);
return false; return false;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment