Respond to more g++ warnings relating to initializing structures.

This commit is contained in:
Christopher Faylor
2000-02-23 04:07:13 +00:00
parent 237e6cfa82
commit 01cf5d0f5d
9 changed files with 22 additions and 19 deletions

View File

@ -245,7 +245,7 @@ fork ()
HANDLE subproc_ready, forker_finished;
void *stack_here;
int x;
PROCESS_INFORMATION pi = {0};
PROCESS_INFORMATION pi = {0, NULL, 0, 0};
MALLOC_CHECK;
@ -332,7 +332,7 @@ fork ()
for the forkee. */
strcpy(child->progname, myself->progname);
STARTUPINFO si = {0};
STARTUPINFO si = {0, NULL, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, NULL, NULL};
si.cb = sizeof (STARTUPINFO);
si.lpReserved2 = (LPBYTE)&ch;