Silence compiler warning on win32.
authorMagnus Hagander <magnus@hagander.net>
Tue, 27 Jan 2009 12:46:16 +0000 (12:46 +0000)
committerMagnus Hagander <magnus@hagander.net>
Tue, 27 Jan 2009 12:46:16 +0000 (12:46 +0000)
ITAGAKI Takahiro

src/test/regress/pg_regress.c

index 134695611c5538952b2673eee8f427c1d277378e..db1e48178bae2606c727120f3ec7f520b0c0a8f2 100644 (file)
@@ -1364,7 +1364,7 @@ wait_for_tests(PID_TYPE *pids, int *statuses, char **names, int num_tests)
                        if (p == pids[i])
                        {
 #ifdef WIN32
-                               GetExitCodeProcess(pids[i], &exit_status);
+                               GetExitCodeProcess(pids[i], (LPDWORD) &exit_status);
                                CloseHandle(pids[i]);
 #endif
                                pids[i] = INVALID_PID;