diff --git a/src/mapping.c b/src/mapping.c
index c6c4372415c9fd31be17604f7c5f6bb5aaf0b5b4..900a3268969bde217a9277023e82aa5297fce3c5 100644
--- a/src/mapping.c
+++ b/src/mapping.c
@@ -2,11 +2,11 @@
 || This file is part of Pike. For copyright information see COPYRIGHT.
 || Pike is distributed under GPL, LGPL and MPL. See the file COPYING
 || for more information.
-|| $Id: mapping.c,v 1.177 2004/03/16 14:09:23 mast Exp $
+|| $Id: mapping.c,v 1.178 2004/03/22 19:35:44 mast Exp $
 */
 
 #include "global.h"
-RCSID("$Id: mapping.c,v 1.177 2004/03/16 14:09:23 mast Exp $");
+RCSID("$Id: mapping.c,v 1.178 2004/03/22 19:35:44 mast Exp $");
 #include "main.h"
 #include "object.h"
 #include "mapping.h"
@@ -1093,7 +1093,7 @@ PMOD_EXPORT void mapping_string_insert_string(struct mapping *m,
 }
 
 PMOD_EXPORT struct svalue *simple_mapping_string_lookup(struct mapping *m,
-					    char *p)
+							const char *p)
 {
   struct pike_string *tmp;
   if((tmp=findstring(p)))
diff --git a/src/mapping.h b/src/mapping.h
index 7bdd55de9212ff6700ec6a0819793b88ac6ff7ec..c71565e5405cb4138e70ddd2ac878395752a9e98 100644
--- a/src/mapping.h
+++ b/src/mapping.h
@@ -2,7 +2,7 @@
 || This file is part of Pike. For copyright information see COPYRIGHT.
 || Pike is distributed under GPL, LGPL and MPL. See the file COPYING
 || for more information.
-|| $Id: mapping.h,v 1.52 2004/02/10 22:20:29 mast Exp $
+|| $Id: mapping.h,v 1.53 2004/03/22 19:35:44 mast Exp $
 */
 
 #ifndef MAPPING_H
@@ -132,7 +132,7 @@ PMOD_EXPORT void mapping_string_insert_string(struct mapping *m,
 				  struct pike_string *p,
 				  struct pike_string *val);
 PMOD_EXPORT struct svalue *simple_mapping_string_lookup(struct mapping *m,
-					    char *p);
+							const char *p);
 PMOD_EXPORT struct svalue *mapping_mapping_lookup(struct mapping *m,
 				      struct svalue *key1,
 				      struct svalue *key2,