Commit e46b99d2 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

cmd: Fix compilation on systems that don't support nameless unions.

parent 4a1435aa
......@@ -603,13 +603,13 @@ void WCMD_call (char *command) {
/* Save the current file position, call the same file,
restore position */
li.QuadPart = 0;
li.LowPart = SetFilePointer(context -> h, li.LowPart,
&li.HighPart, FILE_CURRENT);
li.u.LowPart = SetFilePointer(context -> h, li.u.LowPart,
&li.u.HighPart, FILE_CURRENT);
WCMD_batch (param1, command, 1, gotoLabel, context->h);
SetFilePointer(context -> h, li.LowPart,
&li.HighPart, FILE_BEGIN);
SetFilePointer(context -> h, li.u.LowPart,
&li.u.HighPart, FILE_BEGIN);
} else {
printf("Cannot call batch label outside of a batch script\n");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment