mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[FREELDR] Fix the parameter type of WinLdrSetupEms()
It's a NULL-terminated string. And thus avoid an unelegant cast.
This commit is contained in:
parent
58866a112a
commit
04b4e3b05d
2 changed files with 3 additions and 3 deletions
|
@ -300,7 +300,7 @@ WinLdrInitializeHeadlessPort(VOID)
|
|||
}
|
||||
|
||||
VOID
|
||||
WinLdrSetupEms(IN PCHAR BootOptions)
|
||||
WinLdrSetupEms(IN PCSTR BootOptions)
|
||||
{
|
||||
PCHAR Settings, RedirectPort;
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ extern BOOLEAN AcpiPresent;
|
|||
|
||||
extern HEADLESS_LOADER_BLOCK LoaderRedirectionInformation;
|
||||
extern BOOLEAN WinLdrTerminalConnected;
|
||||
extern void WinLdrSetupEms(IN PCHAR BootOptions);
|
||||
extern VOID WinLdrSetupEms(IN PCSTR BootOptions);
|
||||
|
||||
PLOADER_SYSTEM_BLOCK WinLdrSystemBlock;
|
||||
|
||||
|
@ -1020,7 +1020,7 @@ LoadAndBootWindowsCommon(
|
|||
|
||||
#ifdef _M_IX86
|
||||
/* Setup redirection support */
|
||||
WinLdrSetupEms((PCHAR)BootOptions);
|
||||
WinLdrSetupEms(BootOptions);
|
||||
#endif
|
||||
|
||||
/* Convert BootPath to SystemRoot */
|
||||
|
|
Loading…
Reference in a new issue