cmd: Use correct type instead of void* for prev_context field of BATCH_CONTEXT struct.

This commit is contained in:
Frédéric Delanoy 2011-09-07 11:00:53 +02:00 committed by Alexandre Julliard
parent 3eafe92ba3
commit 003e8d2797
1 changed files with 2 additions and 2 deletions

View File

@ -120,12 +120,12 @@ void WCMD_execute (const WCHAR *orig_command, const WCHAR *redirects,
/* Data structure to hold context when executing batch files */
typedef struct {
typedef struct _BATCH_CONTEXT {
WCHAR *command; /* The command which invoked the batch file */
HANDLE h; /* Handle to the open batch file */
WCHAR *batchfileW; /* Name of same */
int shift_count[10]; /* Offset in terms of shifts for %0 - %9 */
void *prev_context; /* Pointer to the previous context block */
struct _BATCH_CONTEXT *prev_context; /* Pointer to the previous context block */
BOOL skip_rest; /* Skip the rest of the batch program and exit */
CMD_LIST *toExecute; /* Commands left to be executed */
} BATCH_CONTEXT;