Author: tfaber
Date: Fri Aug 5 09:02:40 2011
New Revision: 53080
URL:
http://svn.reactos.org/svn/reactos?rev=53080&view=rev
Log:
[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
Modified:
trunk/reactos/dll/win32/dhcpcsvc/dhcp/dhclient.c
trunk/reactos/dll/win32/netid/CMakeLists.txt
trunk/reactos/drivers/sac/driver/init.c
trunk/reactos/lib/sdk/crt/printf/streamout.c
Modified: trunk/reactos/dll/win32/dhcpcsvc/dhcp/dhclient.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/dhcpcsvc/dhcp/dh…
==============================================================================
--- trunk/reactos/dll/win32/dhcpcsvc/dhcp/dhclient.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/dhcpcsvc/dhcp/dhclient.c [iso-8859-1] Fri Aug 5 09:02:40
2011
@@ -190,7 +190,7 @@
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;
}
Modified: trunk/reactos/dll/win32/netid/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netid/CMakeLists…
==============================================================================
--- trunk/reactos/dll/win32/netid/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/netid/CMakeLists.txt [iso-8859-1] Fri Aug 5 09:02:40 2011
@@ -1,4 +1,5 @@
+set_unicode()
spec2def(netid.dll netid.spec)
set_rc_compiler()
Modified: trunk/reactos/drivers/sac/driver/init.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/sac/driver/init.c?…
==============================================================================
--- trunk/reactos/drivers/sac/driver/init.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/sac/driver/init.c [iso-8859-1] Fri Aug 5 09:02:40 2011
@@ -15,6 +15,7 @@
/* FUNCTIONS ******************************************************************/
NTSTATUS
+NTAPI
DriverEntry(
IN PDRIVER_OBJECT DriverObject,
IN PUNICODE_STRING RegistryPath
Modified: trunk/reactos/lib/sdk/crt/printf/streamout.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/printf/streamo…
==============================================================================
--- trunk/reactos/lib/sdk/crt/printf/streamout.c [iso-8859-1] (original)
+++ trunk/reactos/lib/sdk/crt/printf/streamout.c [iso-8859-1] Fri Aug 5 09:02:40 2011
@@ -540,7 +540,7 @@
if ((__int64)val64 < 0)
{
- val64 = -val64;
+ val64 = -(__int64)val64;
prefix = _T("-");
}
else if (flags & FLAG_FORCE_SIGN)