wineps.drv: Write-strings warnings fix
Andrew Talbot
Andrew.Talbot at talbotville.com
Fri Aug 18 14:17:19 CDT 2006
Changelog:
wineps.drv: Write-strings warnings fix.
diff -urN a/dlls/wineps.drv/ppd.c b/dlls/wineps.drv/ppd.c
--- a/dlls/wineps.drv/ppd.c 2006-06-14 12:55:13.000000000 +0100
+++ b/dlls/wineps.drv/ppd.c 2006-08-18 19:51:51.000000000 +0100
@@ -526,7 +526,7 @@
* PSDRV_AddSlot
*
*/
-static INT PSDRV_AddSlot(PPD *ppd, LPSTR szName, LPSTR szFullName,
+static INT PSDRV_AddSlot(PPD *ppd, LPCSTR szName, LPCSTR szFullName,
LPSTR szInvocationString, WORD wWinBin)
{
INPUTSLOT *slot, **insert = &ppd->InputSlots;
diff -urN a/dlls/wineps.drv/psdrv.h b/dlls/wineps.drv/psdrv.h
--- a/dlls/wineps.drv/psdrv.h 2006-07-16 15:08:30.000000000 +0100
+++ b/dlls/wineps.drv/psdrv.h 2006-08-18 19:28:31.000000000 +0100
@@ -173,8 +173,8 @@
} CONSTRAINT;
typedef struct _tagINPUTSLOT {
- char *Name;
- char *FullName;
+ const char *Name;
+ const char *FullName;
char *InvocationString;
WORD WinBin; /* eg DMBIN_LOWER */
struct _tagINPUTSLOT *next;
More information about the wine-patches
mailing list