/* Emulate the X Resource Manager through the registry.
- Copyright (C) 1990, 1993-1994, 2001-2013 Free Software Foundation,
+ Copyright (C) 1990, 1993-1994, 2001-2014 Free Software Foundation,
Inc.
This file is part of GNU Emacs.
}
static LPBYTE
-w32_get_string_resource (char *name, char *class, DWORD dwexptype)
+w32_get_string_resource (const char *name, const char *class, DWORD dwexptype)
{
LPBYTE lpvalue = NULL;
HKEY hrootkey = NULL;
if (RegOpenKeyEx (hive, REG_ROOT, 0, KEY_READ, &hrootkey) == ERROR_SUCCESS)
{
- char *keyname;
+ const char *keyname;
if (RegQueryValueEx (hrootkey, name, NULL, &dwType, NULL, &cbData) == ERROR_SUCCESS
&& dwType == dwexptype)