mirror of
https://github.com/reactos/reactos.git
synced 2025-05-31 23:18:39 +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
|
VOID
|
||||||
WinLdrSetupEms(IN PCHAR BootOptions)
|
WinLdrSetupEms(IN PCSTR BootOptions)
|
||||||
{
|
{
|
||||||
PCHAR Settings, RedirectPort;
|
PCHAR Settings, RedirectPort;
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@ extern BOOLEAN AcpiPresent;
|
||||||
|
|
||||||
extern HEADLESS_LOADER_BLOCK LoaderRedirectionInformation;
|
extern HEADLESS_LOADER_BLOCK LoaderRedirectionInformation;
|
||||||
extern BOOLEAN WinLdrTerminalConnected;
|
extern BOOLEAN WinLdrTerminalConnected;
|
||||||
extern void WinLdrSetupEms(IN PCHAR BootOptions);
|
extern VOID WinLdrSetupEms(IN PCSTR BootOptions);
|
||||||
|
|
||||||
PLOADER_SYSTEM_BLOCK WinLdrSystemBlock;
|
PLOADER_SYSTEM_BLOCK WinLdrSystemBlock;
|
||||||
|
|
||||||
|
@ -1020,7 +1020,7 @@ LoadAndBootWindowsCommon(
|
||||||
|
|
||||||
#ifdef _M_IX86
|
#ifdef _M_IX86
|
||||||
/* Setup redirection support */
|
/* Setup redirection support */
|
||||||
WinLdrSetupEms((PCHAR)BootOptions);
|
WinLdrSetupEms(BootOptions);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Convert BootPath to SystemRoot */
|
/* Convert BootPath to SystemRoot */
|
||||||
|
|
Loading…
Reference in a new issue