From b86a4b8e83396fb6a8813300a4720176876b05a0 Mon Sep 17 00:00:00 2001 From: Sylvain Petreolle Date: Sat, 3 Oct 2015 22:38:05 +0000 Subject: [PATCH 1/1] Fix 0x%lu specifier in our skeleton service and its only user tcpsvcs. svn path=/trunk/; revision=69437 --- reactos/base/services/tcpsvcs/tcpsvcs.c | 2 +- rosapps/templates/skel_service/ServiceMain.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/base/services/tcpsvcs/tcpsvcs.c b/reactos/base/services/tcpsvcs/tcpsvcs.c index 388ddbe9a0a..dee2fbbf6aa 100644 --- a/reactos/base/services/tcpsvcs/tcpsvcs.c +++ b/reactos/base/services/tcpsvcs/tcpsvcs.c @@ -50,7 +50,7 @@ UpdateStatus(PSERVICEINFO pServInfo, _snwprintf(szSet, 49, - L"Service state 0x%lu, CheckPoint %lu", + L"Service state 0x%lx, CheckPoint %lu", pServInfo->servStatus.dwCurrentState, pServInfo->servStatus.dwCheckPoint); LogEvent(szSet, 0, 0, LOG_FILE); diff --git a/rosapps/templates/skel_service/ServiceMain.c b/rosapps/templates/skel_service/ServiceMain.c index 5832ad42373..ff8fd1b976b 100644 --- a/rosapps/templates/skel_service/ServiceMain.c +++ b/rosapps/templates/skel_service/ServiceMain.c @@ -54,7 +54,7 @@ UpdateStatus(PSERVICEINFO pServInfo, _sntprintf(szSet, 49, - _T("Service state 0x%lu, CheckPoint %lu"), + _T("Service state 0x%lx, CheckPoint %lu"), pServInfo->servStatus.dwCurrentState, pServInfo->servStatus.dwCheckPoint); LogEvent(szSet, 0, 0, LOG_FILE); -- 2.17.1