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 a87381831e2..25d6bb83934 100644
--- a/src/w32reg.c
+++ b/src/w32reg.c
@@ -56,9 +56,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
*/
static char *
-w32_get_rdb_resource (char *rdb, const char *resource)
+w32_get_rdb_resource (const char *rdb, const char *resource)
{
- char *value = rdb;
+ char *value = (char *)rdb;
int len = strlen (resource);
while (*value)