regsvr32: Add missing 'const' keyword
Hugh McMaster
hugh.mcmaster at outlook.com
Tue Aug 12 03:06:01 CDT 2014
This patch adds missing 'const' keywords to programs/regsvr32.
In the first case,
static int UnregisterDll(char* strDll)
should follow its counterpart
static int RegisterDll(const char* strDll).
The same should occur in the InstallDll function:
static int InstallDll(BOOL install, char *strDll, WCHAR *command_line)
"WCHAR *command_line" should also actually be "const WCHAR *commandline", as DllInstall's pszCmdLine is a PCWSTR.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: regsvr32-add-const-keyword.patch
Type: application/octet-stream
Size: 989 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20140812/8bb00f27/attachment.obj>
More information about the wine-patches
mailing list