More eliminate silly warnings
[sxemacs] / src / alloc.c
index 6c9f89d..9c07f16 100644 (file)
@@ -62,7 +62,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. */
 
 #include <ent/ent.h>
 #include <ent/ent-float.h>
-#include <ent/ent-mpfr.h>
 
 #ifdef DOUG_LEA_MALLOC
 #include <malloc.h>
@@ -1648,6 +1647,7 @@ make_bigg_bg(bigg gaussian_value)
 /*** Big complex numbers with correct rounding ***/
 #if defined HAVE_MPC && defined WITH_MPC || \
        defined HAVE_PSEUC && defined WITH_PSEUC
+#include <ent/ent-mpc.h>
 DECLARE_FIXED_TYPE_ALLOC(bigc, Lisp_Bigc);
 #define MINIMUM_ALLOWED_FIXED_TYPE_CELLS_bigc 250
 
@@ -3306,7 +3306,7 @@ Lisp_Object make_string_nocopy(Bufbyte *contents, Bytecount length)
 #ifdef EF_USE_COMPRE
        s->compre = Qnil;
 #endif
-       set_string_data(s, (Bufbyte*)contents);
+       set_string_data(s, contents);
        set_string_length(s, length);
 
        XSETSTRING(val, s);