https://git.reactos.org/?p=reactos.git;a=commitdiff;h=7ba93b9463f8c9139ae977418e01325ce54aeab1

commit 7ba93b9463f8c9139ae977418e01325ce54aeab1
Author:     Hermès Bélusca-Maïto <[email protected]>
AuthorDate: Thu Apr 30 18:39:07 2020 +0200
Commit:     Hermès Bélusca-Maïto <[email protected]>
CommitDate: Thu Apr 30 18:39:07 2020 +0200

    [SMSS] Fix build complaint.
---
 base/system/smss/sminit.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/base/system/smss/sminit.c b/base/system/smss/sminit.c
index 9532ee259fc..d671bb7b274 100644
--- a/base/system/smss/sminit.c
+++ b/base/system/smss/sminit.c
@@ -1821,7 +1821,7 @@ SmpCreateDynamicEnvironmentVariables(VOID)
         /* To combine it into a single string */
         swprintf((PWCHAR)PartialInfo->Data + wcslen((PWCHAR)PartialInfo->Data),
                  L", %s",
-                 PartialInfo2->Data);
+                 (PWCHAR)PartialInfo2->Data);
     }
 
     /* So that we can set this as the PROCESSOR_IDENTIFIER variable */

Reply via email to