Author: tkreuzer
Date: Wed Jul 23 20:06:22 2008
New Revision: 34720
URL:
http://svn.reactos.org/svn/reactos?rev=34720&view=rev
Log:
- rename _toul to _toulptr and make it return an ULONG_PTR
Modified:
branches/ros-amd64-bringup/reactos/lib/sdk/scrnsave/scrnsave.c
Modified: branches/ros-amd64-bringup/reactos/lib/sdk/scrnsave/scrnsave.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/lib/s…
==============================================================================
--- branches/ros-amd64-bringup/reactos/lib/sdk/scrnsave/scrnsave.c [iso-8859-1]
(original)
+++ branches/ros-amd64-bringup/reactos/lib/sdk/scrnsave/scrnsave.c [iso-8859-1] Wed Jul 23
20:06:22 2008
@@ -36,10 +36,10 @@
#define ISNUM(c) ((c) >= '0' && c <= '9')
-static unsigned long _toul(const TCHAR *s)
-{
- unsigned long res;
- unsigned long n;
+static ULONG_PTR _toulptr(const TCHAR *s)
+{
+ ULONG_PTR res;
+ ULONG_PTR n;
const TCHAR *p;
for (p = s; *p; p++)
@@ -223,7 +223,7 @@
fChildPreview = TRUE;
while (ISSPACE(*++p));
- hParent = (HWND) _toul(p);
+ hParent = (HWND) _toulptr(p);
if (hParent && IsWindow(hParent))
return LaunchScreenSaver(hParent);