CVS: winex/dlls/oleaut32 typelib.c,1.30,1.31

[email protected] 14 Dec 2007 20:20:20 -0000
Newsgroups gmane.comp.emulators.winex.cvs
Message-ID <[email protected]>
Subject: winex/dlls/oleaut32 typelib.c,1.30,1.31Update of /var/lib/cvsd/cvsroot/winex/dlls/oleaut32
In directory agravaine:/tmp/cvs-serv15534/dlls/oleaut32

Modified Files:
	typelib.c 
Log Message:
Fixed a compiler warning: wcstol() isn't defined, so I decided to just use
libwine_unicode's strtolW() instead.


Index: typelib.c
===================================================================
RCS file: /var/lib/cvsd/cvsroot/winex/dlls/oleaut32/typelib.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- typelib.c	25 May 2005 15:45:20 -0000	1.30
+++ typelib.c	14 Dec 2007 20:20:18 -0000	1.31
@@ -280,7 +280,7 @@
         /* Look for a trailing '\\' followed by an index */
         pIndexStr = strrchrW(szFile, '\\');
 	if(pIndexStr && pIndexStr != szFile && *++pIndexStr != '\0') {
-	    index = wcstol(pIndexStr, NULL, 10);
+	    index = strtolW(pIndexStr, NULL, 10);
 	    memcpy(szFileCopy, szFile,
 		   (pIndexStr - szFile - 1) * sizeof(WCHAR));
 	    szFileCopy[pIndexStr - szFile - 1] = '\0';