aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim B. Mikheev <vadim4o@yahoo.com>1997-08-14 05:04:38 +0000
committerVadim B. Mikheev <vadim4o@yahoo.com>1997-08-14 05:04:38 +0000
commite99e4ba8334975ac5d9002e7486f16184ac1ab00 (patch)
treeb41213c84e2c634527b5cdd4ce8b62f2acfbd43f
parentccc77423db9d66506c715e051834bcb66b5a5734 (diff)
downloadpostgresql-e99e4ba8334975ac5d9002e7486f16184ac1ab00.tar.gz
postgresql-e99e4ba8334975ac5d9002e7486f16184ac1ab00.zip
sprintf "...%d...", ... (int)getpid(), ...
^^^^^
-rw-r--r--src/backend/utils/sort/psort.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/utils/sort/psort.c b/src/backend/utils/sort/psort.c
index 8442fbe45f2..330d83ab456 100644
--- a/src/backend/utils/sort/psort.c
+++ b/src/backend/utils/sort/psort.c
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/utils/sort/Attic/psort.c,v 1.13 1997/08/12 22:55:02 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/sort/Attic/psort.c,v 1.14 1997/08/14 05:04:38 vadim Exp $
*
* NOTES
* Sorts the first relation into the second relation.
@@ -749,7 +749,7 @@ gettape()
tp = (struct tapelst *)palloc((unsigned)sizeof (struct tapelst));
- sprintf(uniqueName, "%spg_psort.%d.%d", TEMPDIR, getpid(), uniqueFileId);
+ sprintf(uniqueName, "%spg_psort.%d.%d", TEMPDIR, (int)getpid(), uniqueFileId);
uniqueFileId++;
tapeinit = 1;