https://git.reactos.org/?p=reactos.git;a=commitdiff;h=f1908c895985f6b466a64…
commit f1908c895985f6b466a64ed4608879377e525b25
Author: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
AuthorDate: Wed Nov 9 00:05:13 2022 +0100
Commit: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
CommitDate: Wed Nov 9 00:05:13 2022 +0100
[SMSS] Fix build.
---
base/system/smss/smsbapi.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/base/system/smss/smsbapi.c b/base/system/smss/smsbapi.c
index 1eed513601c..60a081a548c 100644
--- a/base/system/smss/smsbapi.c
+++ b/base/system/smss/smsbapi.c
@@ -23,7 +23,7 @@ const PCSTR SmpSubSystemNames[] =
"Windows GUI",
"Windows CUI",
NULL,
- "OS/2 CUI"
+ "OS/2 CUI",
NULL,
"Posix CUI"
};
@@ -158,7 +158,7 @@ SmpSbCreateSession(IN PVOID Reserved,
if (!SubSysName)
{
SubSysName = SubSysTypeName;
- sprintf(SubSysTypeName, "Type 0x%08x", SubSystemType);
+ sprintf(SubSysTypeName, "Type 0x%08lx", SubSystemType);
}
DPRINT1("SMSS: %s SubSystem not found (either not started or
destroyed).\n", SubSysName);
#endif