[janitor] dlls/commdlg -Wwrite-strings cleanup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fixed warnings with gcc option "-Wwrite-strings".

--- dlls/commdlg/printdlg16.c.~1.4.~	2003-10-01 19:31:30.000000000 +0200
+++ dlls/commdlg/printdlg16.c	2003-10-03 13:11:38.000000000 +0200
@@ -212,7 +212,7 @@
  *      Generates a 16 bits template from the Wine 32 bits resource
  *
  */
-static HGLOBAL16 PRINTDLG_Get16TemplateFrom32(char *PrintResourceName)
+static HGLOBAL16 PRINTDLG_Get16TemplateFrom32(LPCSTR PrintResourceName)
 {
 	HRSRC hResInfo;
 	HGLOBAL hDlgTmpl32;
--- dlls/commdlg/printdlg.h.~1.1.~	2003-08-02 02:41:41.000000000 +0200
+++ dlls/commdlg/printdlg.h	2003-10-03 13:10:06.000000000 +0200
@@ -64,8 +64,8 @@
 
 /* Debugging info */
 static struct pd_flags {
-  DWORD flag;
-  LPSTR name;
+  DWORD  flag;
+  LPCSTR name;
 } pd_flags[] = {
   {PD_SELECTION, "PD_SELECTION "},
   {PD_PAGENUMS, "PD_PAGENUMS "},

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux