|
11 | 11 | * Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
|
12 | 12 | * Portions Copyright (c) 1994, Regents of the University of California
|
13 | 13 | *
|
14 |
| - * $PostgreSQL: pgsql/src/test/regress/pg_regress.c,v 1.57 2009/01/08 20:09:06 momjian Exp $ |
| 14 | + * $PostgreSQL: pgsql/src/test/regress/pg_regress.c,v 1.58 2009/01/27 12:46:16 mha Exp $ |
15 | 15 | *
|
16 | 16 | *-------------------------------------------------------------------------
|
17 | 17 | */
|
@@ -1364,7 +1364,7 @@ wait_for_tests(PID_TYPE *pids, int *statuses, char **names, int num_tests)
|
1364 | 1364 | if (p==pids[i])
|
1365 | 1365 | {
|
1366 | 1366 | #ifdefWIN32
|
1367 |
| -GetExitCodeProcess(pids[i],&exit_status); |
| 1367 | +GetExitCodeProcess(pids[i],(LPDWORD)&exit_status); |
1368 | 1368 | CloseHandle(pids[i]);
|
1369 | 1369 | #endif
|
1370 | 1370 | pids[i]=INVALID_PID;
|
|