mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 02:36:13 +00:00
[DHCPCSVC] - Fix another funny GetLastError DPRINT
[NETID] - It's unicode! Surprising it even worked. Fixes warnings [SACDRV] - Fix entry point warning [CRT] - Fix MSVC warning svn path=/trunk/; revision=53080
This commit is contained in:
parent
8cd5ca67a3
commit
8fd9e23140
4 changed files with 4 additions and 2 deletions
|
@ -190,7 +190,7 @@ ServiceMain(DWORD argc, LPWSTR *argv)
|
||||||
NULL);
|
NULL);
|
||||||
if (!ServiceStatusHandle)
|
if (!ServiceStatusHandle)
|
||||||
{
|
{
|
||||||
DbgPrint("DHCPCSVC: Unable to register service control handler (%x)\n", GetLastError);
|
DbgPrint("DHCPCSVC: Unable to register service control handler (%lx)\n", GetLastError());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
|
|
||||||
|
set_unicode()
|
||||||
spec2def(netid.dll netid.spec)
|
spec2def(netid.dll netid.spec)
|
||||||
set_rc_compiler()
|
set_rc_compiler()
|
||||||
|
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
/* FUNCTIONS ******************************************************************/
|
/* FUNCTIONS ******************************************************************/
|
||||||
|
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
|
NTAPI
|
||||||
DriverEntry(
|
DriverEntry(
|
||||||
IN PDRIVER_OBJECT DriverObject,
|
IN PDRIVER_OBJECT DriverObject,
|
||||||
IN PUNICODE_STRING RegistryPath
|
IN PUNICODE_STRING RegistryPath
|
||||||
|
|
|
@ -540,7 +540,7 @@ streamout(FILE *stream, const TCHAR *format, va_list argptr)
|
||||||
|
|
||||||
if ((__int64)val64 < 0)
|
if ((__int64)val64 < 0)
|
||||||
{
|
{
|
||||||
val64 = -val64;
|
val64 = -(__int64)val64;
|
||||||
prefix = _T("-");
|
prefix = _T("-");
|
||||||
}
|
}
|
||||||
else if (flags & FLAG_FORCE_SIGN)
|
else if (flags & FLAG_FORCE_SIGN)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue