[ros-diffs] [sginsberg] 35083: - Reapply 29440 to dbghelp and use strtoui64 instead of non-existing strtoull. Now dbghelp loads again (broken 7 months ago in revision 31339).

sginsberg at svn.reactos.org sginsberg at svn.reactos.org
Sun Aug 3 21:14:44 CEST 2008


Author: sginsberg
Date: Sun Aug  3 14:14:44 2008
New Revision: 35083

URL: http://svn.reactos.org/svn/reactos?rev=35083&view=rev
Log:
- Reapply 29440 to dbghelp and use strtoui64 instead of non-existing strtoull. Now dbghelp loads again (broken 7 months ago in revision 31339).

Modified:
    trunk/reactos/dll/win32/dbghelp/stabs.c

Modified: trunk/reactos/dll/win32/dbghelp/stabs.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/dbghelp/stabs.c?rev=35083&r1=35082&r2=35083&view=diff
==============================================================================
--- trunk/reactos/dll/win32/dbghelp/stabs.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/dbghelp/stabs.c [iso-8859-1] Sun Aug  3 14:14:44 2008
@@ -63,6 +63,8 @@
 
 WINE_DEFAULT_DEBUG_CHANNEL(dbghelp_stabs);
 
+UINT64 _strtoui64( const char *nptr, char **endptr, int base );
+
 #ifndef N_UNDF
 #define N_UNDF		0x00
 #endif
@@ -466,13 +468,13 @@
         break;
     case '-':
         prv->sign = -1;
-        prv->val = strtoull(++ptd->ptr, &last, 10);
+        prv->val = _strtoui64(++ptd->ptr, &last, 10);
         ptd->ptr = last;
         break;
     case '+':
     default:    
         prv->sign = 1;
-        prv->val = strtoull(ptd->ptr, &last, 10);
+        prv->val = _strtoui64(ptd->ptr, &last, 10);
         ptd->ptr = last;
         break;
     }



More information about the Ros-diffs mailing list