user/tests: Write-strings warnings fix

Andrew Talbot Andrew.Talbot at talbotville.com
Mon Aug 7 14:37:29 CDT 2006


Changelog:
    user/tests: Write-strings warnings fix.

diff -urN a/dlls/user/tests/sysparams.c b/dlls/user/tests/sysparams.c
--- a/dlls/user/tests/sysparams.c	2006-05-23 13:48:49.000000000 +0100
+++ b/dlls/user/tests/sysparams.c	2006-08-07 20:10:34.000000000 +0100
@@ -336,7 +336,7 @@
 
 /* get a metric from the registry. If the value is negative
  * it is assumed to be in twips and converted to pixels */
-static UINT metricfromreg( char *keyname, char *valname, int dpi)
+static UINT metricfromreg( const char *keyname, const char *valname, int dpi)
 {
     HKEY hkey;
     char buf[64];



More information about the wine-patches mailing list