Andrew Talbot : wineps.drv: Write-strings warnings fix.
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Aug 23 16:36:15 CDT 2006
Module: wine
Branch: master
Commit: 6e07f23482072bcf626d3eac2823022e414ac5e0
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=6e07f23482072bcf626d3eac2823022e414ac5e0
Author: Andrew Talbot <Andrew.Talbot at talbotville.com>
Date: Fri Aug 18 20:17:19 2006 +0100
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 8fd40a2..0b17bce 100644
--- a/dlls/wineps.drv/ppd.c
+++ b/dlls/wineps.drv/ppd.c
@@ -526,7 +526,7 @@ static char *PSDRV_PPDGetWord(char *str,
* 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 f60731d..74abe39 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;
More information about the wine-cvs
mailing list