[janitor] dlls/winmm -Wwrite-strings cleanup
Daniel Marmier
d.marmier at bluewin.ch
Sun Oct 5 12:19:29 CDT 2003
Fixed warnings with gcc option "-Wwrite-strings".
-------------- next part --------------
Index: dlls/winmm/lolvldrv.c
===================================================================
RCS file: /home/wine/wine/dlls/winmm/lolvldrv.c,v
retrieving revision 1.47
diff -u -r1.47 lolvldrv.c
--- dlls/winmm/lolvldrv.c 22 Sep 2003 19:25:11 -0000 1.47
+++ dlls/winmm/lolvldrv.c 5 Oct 2003 17:07:57 -0000
@@ -39,7 +39,7 @@
/* each known type of driver has an instance of this structure */
typedef struct tagWINE_LLTYPE {
/* those attributes depend on the specification of the type */
- LPSTR typestr; /* name (for debugging) */
+ LPCSTR typestr; /* name (for debugging) */
BOOL bSupportMapper; /* if type is allowed to support mapper */
MMDRV_MAPFUNC Map16To32A; /* those are function pointers to handle */
MMDRV_UNMAPFUNC UnMap16To32A; /* the parameter conversion (16 vs 32 bit) */
Index: dlls/winmm/mci.c
===================================================================
RCS file: /home/wine/wine/dlls/winmm/mci.c,v
retrieving revision 1.46
diff -u -r1.46 mci.c
--- dlls/winmm/mci.c 15 Sep 2003 20:13:30 -0000 1.46
+++ dlls/winmm/mci.c 5 Oct 2003 17:08:04 -0000
@@ -291,7 +291,7 @@
{
UINT uTbl;
char buf[32];
- LPSTR str = NULL;
+ LPCSTR str = NULL;
/* first look up existing for existing devType */
for (uTbl = 0; uTbl < MAX_MCICMDTABLE; uTbl++) {
More information about the wine-patches
mailing list