warning fixes
eric pouech
eric.pouech at wanadoo.fr
Mon May 21 03:34:55 CDT 2001
A+
--
---------------
Eric Pouech (http://perso.wanadoo.fr/eric.pouech/)
"The future will be better tomorrow", Vice President Dan Quayle
-------------- next part --------------
Name: warn
ChangeLog: fixed a couple of warnings
GenDate: 2001/05/21 08:06:26 UTC
ModifiedFiles: dlls/msvcrt/data.c
AddedFiles:
===================================================================
RCS file: /usr/share/cvs/cvsroot/wine/wine/dlls/msvcrt/data.c,v
retrieving revision 1.8
diff -u -u -r1.8 data.c
--- dlls/msvcrt/data.c 2001/05/11 20:03:40 1.8
+++ dlls/msvcrt/data.c 2001/05/19 06:07:19
@@ -224,12 +224,12 @@
/* FIXME: This is plain wrong, we must convert from a '\0' separated
* memory block to an array of pointers to string format.
*/
- MSVCRT__environ = GetEnvironmentStringsA();
+ MSVCRT__environ = (char**)GetEnvironmentStringsA();
MSVCRT___initenv = MSVCRT__environ;
/* FIXME: This is plain wrong, we must convert from a '\0' separated
* memory block to an array of pointers to string format.
*/
- MSVCRT__wenviron = GetEnvironmentStringsW();
+ MSVCRT__wenviron = (WCHAR**)GetEnvironmentStringsW();
MSVCRT___winitenv = MSVCRT__wenviron;
}
More information about the wine-patches
mailing list