From: Magnus Hagander Date: Tue, 27 Jan 2009 12:46:16 +0000 (+0000) Subject: Silence compiler warning on win32. X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=87ac180a1a61e8a4ae7b8f2a47a8f66b304188bc;p=users%2Fsimon%2Fpostgres.git Silence compiler warning on win32. ITAGAKI Takahiro --- diff --git a/src/test/regress/pg_regress.c b/src/test/regress/pg_regress.c index 134695611c..db1e48178b 100644 --- a/src/test/regress/pg_regress.c +++ b/src/test/regress/pg_regress.c @@ -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;