Author: sir_richard Date: Sun Jun 27 20:45:15 2010 New Revision: 47871
URL: http://svn.reactos.org/svn/reactos?rev=47871&view=rev Log: [NTOS]: I am sorry, this is embarssing. Fix build again.
Modified: trunk/reactos/ntoskrnl/ex/init.c trunk/reactos/ntoskrnl/ke/bug.c
Modified: trunk/reactos/ntoskrnl/ex/init.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ex/init.c?rev=4787... ============================================================================== --- trunk/reactos/ntoskrnl/ex/init.c [iso-8859-1] (original) +++ trunk/reactos/ntoskrnl/ex/init.c [iso-8859-1] Sun Jun 27 20:45:15 2010 @@ -1044,7 +1044,7 @@ if (NT_SUCCESS(Status)) { /* Setup the string */ - RtlInitAnsiString(&CsdString, MsgEntry->Text); + RtlInitAnsiString(&CsdString, (PCHAR)MsgEntry->Text);
/* Remove trailing newline */ while ((CsdString.Length > 0) && @@ -1371,7 +1371,7 @@ /* Create the banner message */ Status = RtlStringCbPrintfA(EndBuffer, Size, - MsgEntry->Text, + (PCHAR)MsgEntry->Text, StringBuffer, NtBuildNumber & 0xFFFF, BeginBuffer); @@ -1486,7 +1486,7 @@ Status = RtlStringCbPrintfA(StringBuffer, 256, NT_SUCCESS(MsgStatus) ? - MsgEntry->Text : + (PCHAR)MsgEntry->Text : "%u System Processor [%u MB Memory] %Z\n", KeNumberProcessors, Size, @@ -1650,7 +1650,7 @@ if (NT_SUCCESS(Status)) { /* Display it */ - InbvDisplayString(MsgEntry->Text); + InbvDisplayString((PCHAR)MsgEntry->Text); } } } @@ -1670,7 +1670,7 @@ if (NT_SUCCESS(Status)) { /* Display it */ - InbvDisplayString(MsgEntry->Text); + InbvDisplayString((PCHAR)MsgEntry->Text); }
/* Setup boot logging */
Modified: trunk/reactos/ntoskrnl/ke/bug.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ke/bug.c?rev=47871... ============================================================================== --- trunk/reactos/ntoskrnl/ke/bug.c [iso-8859-1] (original) +++ trunk/reactos/ntoskrnl/ke/bug.c [iso-8859-1] Sun Jun 27 20:45:15 2010 @@ -463,7 +463,7 @@ }
/* Get the final Code */ - BugCode = ((PMESSAGE_RESOURCE_ENTRY)MessageEntry)->Text; + BugCode = (PCHAR)((PMESSAGE_RESOURCE_ENTRY)MessageEntry)->Text; i = strlen(BugCode);
/* Handle newlines */