changeset 2646:5e4893b16f7c

[xemacs-hg @ 2005-03-10 09:19:14 by crestani] Add missing typecasts. 2005-03-09 Marcus Crestani <crestani@informatik.uni-tuebingen.de> * database.c (berkdb_map): Add typecasts.
author crestani
date Thu, 10 Mar 2005 09:19:16 +0000
parents e6854ec89f8e
children 89e2f8e3f660
files src/ChangeLog src/database.c
diffstat 2 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Thu Mar 10 09:12:38 2005 +0000
+++ b/src/ChangeLog	Thu Mar 10 09:19:16 2005 +0000
@@ -1,3 +1,7 @@
+2005-03-09  Marcus Crestani  <crestani@informatik.uni-tuebingen.de>
+
+	* database.c (berkdb_map): Add typecasts.
+
 2005-03-01  Marcus Crestani  <crestani@informatik.uni-tuebingen.de>
 
 	* alloc.c: Add functionality for backtracing the KKCC mark
--- a/src/database.c	Thu Mar 10 09:12:38 2005 +0000
+++ b/src/database.c	Thu Mar 10 09:19:16 2005 +0000
@@ -510,9 +510,9 @@
        status == 0;
        status = dbp->seq (dbp, &keydatum, &valdatum, R_NEXT))
     {
-      key = make_ext_string (keydatum.data, keydatum.size,
+      key = make_ext_string ((const Extbyte *) keydatum.data, keydatum.size,
 			     db->coding_system);
-      val = make_ext_string (valdatum.data, valdatum.size,
+      val = make_ext_string ((const Extbyte *) valdatum.data, valdatum.size,
 			     db->coding_system);
       call2 (func, key, val);
     }