mirror of
https://github.com/reactos/reactos.git
synced 2024-06-27 16:31:30 +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
|
@ -190,7 +190,7 @@ ServiceMain(DWORD argc, LPWSTR *argv)
|
|||
NULL);
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
|
||||
set_unicode()
|
||||
spec2def(netid.dll netid.spec)
|
||||
set_rc_compiler()
|
||||
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
/* FUNCTIONS ******************************************************************/
|
||||
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
DriverEntry(
|
||||
IN PDRIVER_OBJECT DriverObject,
|
||||
IN PUNICODE_STRING RegistryPath
|
||||
|
|
|
@ -540,7 +540,7 @@ streamout(FILE *stream, const TCHAR *format, va_list argptr)
|
|||
|
||||
if ((__int64)val64 < 0)
|
||||
{
|
||||
val64 = -val64;
|
||||
val64 = -(__int64)val64;
|
||||
prefix = _T("-");
|
||||
}
|
||||
else if (flags & FLAG_FORCE_SIGN)
|
||||
|
|
Loading…
Reference in a new issue