summaryrefslogtreecommitdiff
path: root/src/w32reg.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/w32reg.c')
-rw-r--r--src/w32reg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/w32reg.c b/src/w32reg.c
index e7c4e9ea351..9d088538e0b 100644
--- a/src/w32reg.c
+++ b/src/w32reg.c
@@ -56,7 +56,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
*/
static char *
-w32_get_rdb_resource (char *rdb, char *resource)
+w32_get_rdb_resource (char *rdb, const char *resource)
{
char *value = rdb;
int len = strlen (resource);
@@ -141,7 +141,7 @@ w32_get_string_resource (char *name, char *class, DWORD dwexptype)
database RDB. */
char *
-x_get_string_resource (XrmDatabase rdb, char *name, char *class)
+x_get_string_resource (XrmDatabase rdb, const char *name, const char *class)
{
if (rdb)
{