diff src/database.c @ 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 ef4226f3a790
children 6fa9919a9a0b
line wrap: on
line diff
--- 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);
     }