Changeset 7333 for trunk/src/NTDLL
- Timestamp:
 - Nov 14, 2001, 1:27:02 PM (24 years ago)
 - File:
 - 
      
- 1 edited
 
- 
          
  trunk/src/NTDLL/wcstring.c (modified) (1 diff)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
trunk/src/NTDLL/wcstring.c
r6712 r7333 285 285 INT __cdecl NTDLL_wcstol(LPWSTR s,LPWSTR *end,INT base) 286 286 { 287 INT ret; 288 #ifdef __WIN32OS2__ 289 LPSTR endA; 290 LPSTR sA; 291 STACK_strdupWtoA(s, sA) 292 #else 287 293 LPSTR sA = HEAP_strdupWtoA(GetProcessHeap(),0,s),endA; 288 INT ret = strtol(sA,&endA,base); 289 294 #endif 295 296 strtol(sA,&endA,base); 297 298 #ifndef __WIN32OS2__ 290 299 HeapFree(GetProcessHeap(),0,sA); 300 #endif 291 301 if (end) *end = s+(endA-sA); /* pointer magic checked. */ 292 302 return ret;  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  