From 89b469cb2f74dd2c66bdcc5be25f2153ecd7d01f Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Mon, 31 Aug 2009 09:57:51 +0200 Subject: [PATCH] dxdiag: Make the "cmdline" parameter const. --- programs/dxdiag/main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/programs/dxdiag/main.c b/programs/dxdiag/main.c index 5334b227139..4e73b4b4cc9 100644 --- a/programs/dxdiag/main.c +++ b/programs/dxdiag/main.c @@ -33,9 +33,8 @@ WINE_DEFAULT_DEBUG_CHANNEL(dxdiag); quotes are optional around the filename, even if it contains spaces. */ -static BOOL ProcessCommandLine(LPWSTR cmdline) +static BOOL ProcessCommandLine(const WCHAR *s) { - const WCHAR *s = cmdline; WCHAR outfile[MAX_PATH+1]; int opt_t = FALSE; int opt_x = FALSE;