Author: tkreuzer
Date: Wed Jun 15 22:47:29 2011
New Revision: 52265
URL:
http://svn.reactos.org/svn/reactos?rev=52265&view=rev
Log:
[SMSS]
- really remove the link command
- fix an integer overflow
Modified:
trunk/reactos/base/system/smss/CMakeLists.txt
trunk/reactos/base/system/smss/initpage.c
Modified: trunk/reactos/base/system/smss/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/smss/CMakeList…
==============================================================================
--- trunk/reactos/base/system/smss/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/base/system/smss/CMakeLists.txt [iso-8859-1] Wed Jun 15 22:47:29 2011
@@ -27,7 +27,6 @@
target_link_libraries(smss nt smlib)
if(MSVC)
- # target_link_libraries(smss msvcsup)
set_entrypoint(smss DllMainCRTStartup)
endif()
Modified: trunk/reactos/base/system/smss/initpage.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/smss/initpage.…
==============================================================================
--- trunk/reactos/base/system/smss/initpage.c [iso-8859-1] (original)
+++ trunk/reactos/base/system/smss/initpage.c [iso-8859-1] Wed Jun 15 22:47:29 2011
@@ -189,7 +189,7 @@
if (InitialSize.QuadPart > GIGABYTE)
{
InitialSize.QuadPart = GIGABYTE;
- MaximumSize.QuadPart = GIGABYTE * 3 / 2;
+ MaximumSize.QuadPart = (ULONGLONG)GIGABYTE * 3 / 2;
}
}