Commit 6b733665 authored by Magnus Hagander's avatar Magnus Hagander

Silence compiler warning on win32.

ITAGAKI Takahiro
parent 3a8ec880
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
* Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group * Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California * Portions Copyright (c) 1994, Regents of the University of California
* *
* $PostgreSQL: pgsql/src/test/regress/pg_regress.c,v 1.57 2009/01/08 20:09:06 momjian Exp $ * $PostgreSQL: pgsql/src/test/regress/pg_regress.c,v 1.58 2009/01/27 12:46:16 mha Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -1364,7 +1364,7 @@ wait_for_tests(PID_TYPE *pids, int *statuses, char **names, int num_tests) ...@@ -1364,7 +1364,7 @@ wait_for_tests(PID_TYPE *pids, int *statuses, char **names, int num_tests)
if (p == pids[i]) if (p == pids[i])
{ {
#ifdef WIN32 #ifdef WIN32
GetExitCodeProcess(pids[i], &exit_status); GetExitCodeProcess(pids[i], (LPDWORD) &exit_status);
CloseHandle(pids[i]); CloseHandle(pids[i]);
#endif #endif
pids[i] = INVALID_PID; pids[i] = INVALID_PID;
......
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