From 6e07f23482072bcf626d3eac2823022e414ac5e0 Mon Sep 17 00:00:00 2001 From: Andrew Talbot Date: Fri, 18 Aug 2006 20:17:19 +0100 Subject: [PATCH] wineps.drv: Write-strings warnings fix. --- dlls/wineps.drv/ppd.c | 2 +- dlls/wineps.drv/psdrv.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dlls/wineps.drv/ppd.c b/dlls/wineps.drv/ppd.c index 8fd40a25e8c..0b17bce0e1f 100644 --- a/dlls/wineps.drv/ppd.c +++ b/dlls/wineps.drv/ppd.c @@ -526,7 +526,7 @@ static char *PSDRV_PPDGetWord(char *str, char **next) * 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 --git a/dlls/wineps.drv/psdrv.h b/dlls/wineps.drv/psdrv.h index f60731daee3..74abe3955fa 100644 --- a/dlls/wineps.drv/psdrv.h +++ b/dlls/wineps.drv/psdrv.h @@ -173,8 +173,8 @@ typedef struct _tagCONSTRAINT { } CONSTRAINT; typedef struct _tagINPUTSLOT { - char *Name; - char *FullName; + const char *Name; + const char *FullName; char *InvocationString; WORD WinBin; /* eg DMBIN_LOWER */ struct _tagINPUTSLOT *next;